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.0007489/0.0007488, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 171.7 kB / 16.58 MB, free: 6.051 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.234/1.234, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6428/0.6428, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002732, allocations: 8 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.3763/0.5027, allocations: 146.6 MB / 0.7001 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.5052, allocations: 1.599 MB / 0.7017 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.5055, allocations: 7.938 kB / 0.7017 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.5059, allocations: 115.2 kB / 0.7018 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009281/0.5069, allocations: 386.2 kB / 0.7021 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.5078, allocations: 359 kB / 0.7025 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.5086, allocations: 0.6473 MB / 0.7031 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.5088, allocations: 140.5 kB / 0.7032 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.5093, allocations: 266.8 kB / 0.7035 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.5094, allocations: 143.4 kB / 0.7036 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.5095, allocations: 12 kB / 0.7036 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008422/0.5103, allocations: 0.5223 MB / 0.7042 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.5104, allocations: 75.7 kB / 0.7042 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.5105, allocations: 69.58 kB / 0.7043 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.5109, allocations: 335.2 kB / 0.7046 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5109, allocations: 0 / 0.7046 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5109, allocations: 0 / 0.7046 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5109, allocations: 0 / 0.7046 GB, free: 3.547 MB / 0.5137 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.0006492/0.5115, allocations: 0.5419 MB / 0.7051 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5116, allocations: 11.97 kB / 0.7052 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.5116, allocations: 42.56 kB / 0.7052 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.5119, allocations: 55.67 kB / 0.7053 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.5122, allocations: 281.5 kB / 0.7055 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5123, allocations: 12 kB / 0.7055 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.5123, allocations: 12 kB / 0.7055 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.5126, allocations: 208 kB / 0.7057 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5126, allocations: 0 / 0.7057 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5127, allocations: 4 kB / 0.7057 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5127, allocations: 4 kB / 0.7057 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.513, allocations: 144.5 kB / 0.7059 GB, free: 2.133 MB / 0.5137 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.00087/0.5138, allocations: 0.7809 MB / 0.7066 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.5141, allocations: 90.47 kB / 0.7067 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5142, allocations: 81.98 kB / 0.7068 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.5145, allocations: 194.1 kB / 0.707 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.5145, allocations: 34.56 kB / 0.707 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5145, allocations: 4 kB / 0.707 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000576/0.5151, allocations: 233.5 kB / 0.7073 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5151, allocations: 55.41 kB / 0.7073 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5154, allocations: 263.1 kB / 0.7076 GB, free: 276 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5154, allocations: 37.64 kB / 0.7076 GB, free: 232 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.5155, allocations: 143.9 kB / 0.7077 GB, free: 84 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5155, allocations: 35.48 kB / 0.7078 GB, free: 48 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5156, allocations: 0 / 0.7078 GB, free: 48 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5157, allocations: 330.8 kB / 0.7081 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.5158, allocations: 51.97 kB / 0.7081 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.5159, allocations: 93.05 kB / 0.7082 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5161, allocations: 59.95 kB / 0.7083 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5161, allocations: 0 / 0.7083 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002955/0.5164, allocations: 165.3 kB / 0.7084 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.5165, allocations: 123.5 kB / 0.7086 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5165, allocations: 0 / 0.7086 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.5165, allocations: 0 / 0.7086 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5166, allocations: 27.98 kB / 0.7086 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.5166, allocations: 7.938 kB / 0.7086 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.5168, allocations: 19.89 kB / 0.7086 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.5168, allocations: 9.625 kB / 0.7086 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.5168, allocations: 4 kB / 0.7086 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002463/0.5171, allocations: 119.8 kB / 0.7087 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.5171, allocations: 0 / 0.7087 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.5171, allocations: 4 kB / 0.7087 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.5172, allocations: 23.98 kB / 0.7088 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.5172, allocations: 7.953 kB / 0.7088 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5174, allocations: 23.95 kB / 0.7088 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5174, allocations: 4 kB / 0.7088 GB, free: 14.95 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.5175, allocations: 221.1 kB / 0.709 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.5176, allocations: 31.64 kB / 0.709 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.5179, allocations: 163.3 kB / 0.7092 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5179, allocations: 3.984 kB / 0.7092 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5179, allocations: 8.234 kB / 0.7092 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5179, allocations: 288 / 0.7092 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.5187, allocations: 0.6015 MB / 0.7098 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5187, allocations: 0.9688 kB / 0.7098 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.5188, allocations: 31.92 kB / 0.7098 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5189, allocations: 4 kB / 0.7098 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5189, allocations: 8 kB / 0.7098 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.5189, allocations: 11.86 kB / 0.7098 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5189, allocations: 4 kB / 0.7099 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.5192, allocations: 301.2 kB / 0.7101 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.5193, allocations: 116.8 kB / 0.7102 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.5194, allocations: 8 kB / 0.7103 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.5196, allocations: 15.98 kB / 0.7103 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.5196, allocations: 7.984 kB / 0.7103 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5196, allocations: 15.94 kB / 0.7103 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001575/0.5198, allocations: 190 kB / 0.7105 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5198, allocations: 0 / 0.7105 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000472/0.5203, allocations: 99.83 kB / 0.7106 GB, free: 12.98 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008116/0.5211, allocations: 0.9031 MB / 0.7115 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.5215, allocations: 176.4 kB / 0.7116 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5215, allocations: 4 kB / 0.7116 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.5217, allocations: 63.84 kB / 0.7117 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.5224, allocations: 133.5 kB / 0.7118 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.5242, allocations: 1.324 MB / 0.7131 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.5245, allocations: 0.7599 MB / 0.7138 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.5247, allocations: 70.22 kB / 0.7139 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.5248, allocations: 71.41 kB / 0.714 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5248, allocations: 0 / 0.714 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.5409, allocations: 6.545 MB / 0.7204 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.5411, allocations: 235.1 kB / 0.7206 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.192, allocations: 4 kB / 0.7206 GB, free: 2.777 MB / 0.5294 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/linux/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) Environment - environmentSimulation: