Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108 kB / 16.27 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 195.1 kB / 17.2 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7314/0.7314, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 77.92 MB / 0.5673 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01381/0.332, allocations: 15.02 MB / 0.5819 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.3369, allocations: 3.885 MB / 0.5857 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.3374, allocations: 24.84 kB / 0.5858 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.338, allocations: 192.5 kB / 0.5859 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.3395, allocations: 0.6796 MB / 0.5866 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3407, allocations: 469.9 kB / 0.5871 GB, free: 18.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3419, allocations: 1.083 MB / 0.5881 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.3422, allocations: 282.5 kB / 0.5884 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.3428, allocations: 396.5 kB / 0.5888 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.343, allocations: 270.9 kB / 0.589 GB, free: 17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.3431, allocations: 19.56 kB / 0.589 GB, free: 17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3441, allocations: 0.7152 MB / 0.5897 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.3442, allocations: 80.95 kB / 0.5898 GB, free: 16.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3444, allocations: 183.2 kB / 0.59 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.3452, allocations: 0.7128 MB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3452, allocations: 0 / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3452, allocations: 1.406 kB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3453, allocations: 0.5625 kB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008824/0.3461, allocations: 0.7357 MB / 0.5914 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3462, allocations: 11.41 kB / 0.5914 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3462, allocations: 52.3 kB / 0.5915 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.3463, allocations: 45.53 kB / 0.5915 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.347, allocations: 0.4946 MB / 0.592 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3471, allocations: 16.11 kB / 0.592 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3471, allocations: 22.06 kB / 0.592 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3474, allocations: 183.1 kB / 0.5922 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3474, allocations: 1 kB / 0.5922 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3475, allocations: 6.031 kB / 0.5922 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3475, allocations: 8.453 kB / 0.5922 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.3478, allocations: 142.2 kB / 0.5924 GB, free: 14.64 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.3487, allocations: 0.8702 MB / 0.5932 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3489, allocations: 122.7 kB / 0.5933 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3491, allocations: 70.06 kB / 0.5934 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.3493, allocations: 336.3 kB / 0.5937 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.3493, allocations: 35.88 kB / 0.5937 GB, free: 13.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3494, allocations: 0 / 0.5937 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005262/0.3499, allocations: 221.2 kB / 0.594 GB, free: 13.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3499, allocations: 56.38 kB / 0.594 GB, free: 13.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3502, allocations: 343.7 kB / 0.5943 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3502, allocations: 32.08 kB / 0.5944 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.3503, allocations: 194.7 kB / 0.5946 GB, free: 12.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3504, allocations: 43.64 kB / 0.5946 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3504, allocations: 34.89 kB / 0.5946 GB, free: 12.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.3505, allocations: 346.6 kB / 0.595 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3506, allocations: 50.2 kB / 0.595 GB, free: 12.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3508, allocations: 85.53 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.351, allocations: 123.2 kB / 0.5952 GB, free: 12.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.351, allocations: 0 / 0.5952 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003388/0.3514, allocations: 172.8 kB / 0.5954 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3514, allocations: 9.75 kB / 0.5954 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3514, allocations: 3.938 kB / 0.5954 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3514, allocations: 1.156 kB / 0.5954 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3516, allocations: 23.42 kB / 0.5954 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3516, allocations: 9.234 kB / 0.5954 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3518, allocations: 20.69 kB / 0.5954 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3518, allocations: 8.641 kB / 0.5954 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000182/0.352, allocations: 154.7 kB / 0.5956 GB, free: 11.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001408/0.3521, allocations: 90.64 kB / 0.5957 GB, free: 11.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002318/0.3524, allocations: 116.1 kB / 0.5958 GB, free: 11.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.3524, allocations: 0 / 0.5958 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000323/0.3527, allocations: 171.4 kB / 0.596 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.3527, allocations: 5.656 kB / 0.596 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3527, allocations: 3.938 kB / 0.596 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-06/0.3528, allocations: 1.125 kB / 0.596 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3529, allocations: 31.17 kB / 0.596 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.3529, allocations: 1.219 kB / 0.596 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.353, allocations: 17.22 kB / 0.596 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3531, allocations: 7.438 kB / 0.596 GB, free: 11.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.3531, allocations: 185.6 kB / 0.5962 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.3532, allocations: 39.5 kB / 0.5962 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.3536, allocations: 237.6 kB / 0.5965 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3537, allocations: 2.281 kB / 0.5965 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3537, allocations: 128 / 0.5965 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3537, allocations: 1.219 kB / 0.5965 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.3544, allocations: 0.637 MB / 0.5971 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3544, allocations: 1.094 kB / 0.5971 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3545, allocations: 27.41 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3545, allocations: 2.219 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3545, allocations: 2.25 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3545, allocations: 1.125 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3545, allocations: 1.125 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.3549, allocations: 321.2 kB / 0.5974 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.355, allocations: 127.2 kB / 0.5975 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3551, allocations: 6.438 kB / 0.5976 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3553, allocations: 18.84 kB / 0.5976 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3553, allocations: 13.3 kB / 0.5976 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3553, allocations: 9.562 kB / 0.5976 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3555, allocations: 247.3 kB / 0.5978 GB, free: 10.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3555, allocations: 0 / 0.5978 GB, free: 10.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.3561, allocations: 189 kB / 0.598 GB, free: 10.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000861/0.357, allocations: 0.9907 MB / 0.599 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.3574, allocations: 207.1 kB / 0.5992 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3575, allocations: 0 / 0.5992 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3576, allocations: 76.67 kB / 0.5992 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.3584, allocations: 150.4 kB / 0.5994 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3609, allocations: 2.748 MB / 0.6021 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.3611, allocations: 0.7957 MB / 0.6029 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.3613, allocations: 77.03 kB / 0.6029 GB, free: 5.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3614, allocations: 107.4 kB / 0.603 GB, free: 5.438 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3614, allocations: 0 / 0.603 GB, free: 5.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.387, allocations: 9.98 MB / 0.6128 GB, free: 11.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.651, allocations: 6.125 kB / 0.6128 GB, free: 11.68 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)