Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.001162/0.001162, allocations: 101.1 kB / 15.98 MB, free: 6.34 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.001236/0.001236, allocations: 199.3 kB / 16.91 MB, free: 6.188 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.194/1.194, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6239/0.6239, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.91 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 76.16 MB / 0.556 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1411/0.4152, allocations: 159.3 MB / 0.7116 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.4177, allocations: 1.705 MB / 0.7132 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.418, allocations: 11.94 kB / 0.7132 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.4185, allocations: 139.2 kB / 0.7134 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.4196, allocations: 482.1 kB / 0.7138 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.4205, allocations: 391.3 kB / 0.7142 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.4212, allocations: 0.5732 MB / 0.7148 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.4215, allocations: 164.5 kB / 0.7149 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000545/0.4221, allocations: 322.7 kB / 0.7152 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.4223, allocations: 163.3 kB / 0.7154 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.4223, allocations: 12 kB / 0.7154 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008908/0.4232, allocations: 0.7054 MB / 0.7161 GB, free: 216 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.4233, allocations: 87.66 kB / 0.7162 GB, free: 128 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.4235, allocations: 115.4 kB / 0.7163 GB, free: 12 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.4241, allocations: 0.518 MB / 0.7168 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4242, allocations: 4 kB / 0.7168 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4242, allocations: 0 / 0.7168 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4242, allocations: 0 / 0.7168 GB, free: 15.49 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007583/0.4249, allocations: 0.5838 MB / 0.7174 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.425, allocations: 8.031 kB / 0.7174 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.425, allocations: 50.48 kB / 0.7174 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.4253, allocations: 51.69 kB / 0.7175 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4257, allocations: 289.3 kB / 0.7178 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4257, allocations: 19.94 kB / 0.7178 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.4257, allocations: 12 kB / 0.7178 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4261, allocations: 188.2 kB / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4261, allocations: 0 / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4261, allocations: 4 kB / 0.718 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4261, allocations: 4 kB / 0.718 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.4264, allocations: 139.8 kB / 0.7181 GB, free: 14.04 MB / 0.5606 GB 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.0009095/0.4273, allocations: 0.7808 MB / 0.7189 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.4276, allocations: 86.47 kB / 0.7189 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.4277, allocations: 76.81 kB / 0.719 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.428, allocations: 190.2 kB / 0.7192 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.428, allocations: 34.56 kB / 0.7192 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.4281, allocations: 0 / 0.7192 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006085/0.4287, allocations: 221.2 kB / 0.7194 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.4287, allocations: 59.39 kB / 0.7195 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.4289, allocations: 263 kB / 0.7198 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.429, allocations: 33.7 kB / 0.7198 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.4291, allocations: 147.9 kB / 0.7199 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.4291, allocations: 31.47 kB / 0.72 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.4292, allocations: 29.7 kB / 0.72 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4293, allocations: 338.8 kB / 0.7203 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4294, allocations: 48.83 kB / 0.7204 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4296, allocations: 89.17 kB / 0.7204 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.4298, allocations: 127.3 kB / 0.7206 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4298, allocations: 0 / 0.7206 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003128/0.4301, allocations: 157.3 kB / 0.7207 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4302, allocations: 8 kB / 0.7207 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4302, allocations: 3.938 kB / 0.7207 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.4302, allocations: 0 / 0.7207 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4303, allocations: 27.95 kB / 0.7207 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4303, allocations: 4 kB / 0.7208 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.4305, allocations: 15.98 kB / 0.7208 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.4305, allocations: 4 kB / 0.7208 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001757/0.4307, allocations: 153 kB / 0.7209 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001348/0.4308, allocations: 89.67 kB / 0.721 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002184/0.4311, allocations: 123.4 kB / 0.7211 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.4311, allocations: 192 / 0.7211 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002913/0.4314, allocations: 161.2 kB / 0.7213 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.4314, allocations: 9.5 kB / 0.7213 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.4314, allocations: 0 / 0.7213 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/0.4314, allocations: 7.938 kB / 0.7213 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4315, allocations: 19.98 kB / 0.7213 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-06/0.4315, allocations: 3.984 kB / 0.7213 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4317, allocations: 19.92 kB / 0.7213 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4317, allocations: 8 kB / 0.7213 GB, free: 10.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 9.023e-05/0.4318, allocations: 196.2 kB / 0.7215 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.4319, allocations: 19.72 kB / 0.7215 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.4322, allocations: 163.2 kB / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4322, allocations: 0 / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4322, allocations: 0 / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4322, allocations: 0 / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.433, allocations: 0.5937 MB / 0.7223 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.433, allocations: 4.219 kB / 0.7223 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4331, allocations: 23.98 kB / 0.7223 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4331, allocations: 4 kB / 0.7223 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4332, allocations: 7.938 kB / 0.7223 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4332, allocations: 7.938 kB / 0.7223 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4332, allocations: 4 kB / 0.7223 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.4335, allocations: 293.1 kB / 0.7226 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.4336, allocations: 112.8 kB / 0.7227 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4337, allocations: 12.06 kB / 0.7227 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.4339, allocations: 19.97 kB / 0.7227 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4339, allocations: 15.88 kB / 0.7228 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4339, allocations: 8 kB / 0.7228 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000164/0.4341, allocations: 193.9 kB / 0.723 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4341, allocations: 0 / 0.723 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000415/0.4345, allocations: 95.84 kB / 0.723 GB, free: 8.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0008139/0.4353, allocations: 0.8969 MB / 0.7239 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.4358, allocations: 167.7 kB / 0.7241 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4358, allocations: 4.125 kB / 0.7241 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4359, allocations: 55.91 kB / 0.7241 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.4366, allocations: 127.6 kB / 0.7243 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.4391, allocations: 2.409 MB / 0.7266 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.4394, allocations: 0.7635 MB / 0.7274 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.4397, allocations: 65.88 kB / 0.7274 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.4398, allocations: 67.42 kB / 0.7275 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4398, allocations: 8 kB / 0.7275 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.255/1.695, allocations: 6.686 MB / 0.734 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.695, allocations: 244.2 kB / 0.7343 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/4.089, allocations: 3.938 kB / 0.7343 GB, free: 13.09 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)