Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",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.001063/0.001063, allocations: 92.95 kB / 16.02 MB, free: 84 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.001381/0.001381, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 495.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 77.54 MB / 0.56 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.4999/0.6481, allocations: 232.2 MB / 0.7868 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.6687, allocations: 15.74 MB / 0.8022 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.6707, allocations: 51.62 kB / 0.8022 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.6731, allocations: 0.8705 MB / 0.8031 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.6801, allocations: 2.801 MB / 0.8058 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.6839, allocations: 1.509 MB / 0.8073 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005284/0.6892, allocations: 4.658 MB / 0.8118 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.691, allocations: 1.033 MB / 0.8128 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.6969, allocations: 2.216 MB / 0.815 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.6998, allocations: 1.085 MB / 0.816 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.7, allocations: 44 kB / 0.8161 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006457/0.7065, allocations: 3.573 MB / 0.8196 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000581/0.7071, allocations: 398.4 kB / 0.82 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.7084, allocations: 0.7477 MB / 0.8207 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005148/0.7135, allocations: 3.049 MB / 0.8237 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7135, allocations: 0 / 0.8237 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7136, allocations: 0 / 0.8237 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.941e-05/0.7136, allocations: 4 kB / 0.8237 GB, free: 8.414 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003599/0.7172, allocations: 1.718 MB / 0.8253 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.7173, allocations: 8.031 kB / 0.8254 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.7175, allocations: 156.2 kB / 0.8255 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.7203, allocations: 0.5367 MB / 0.826 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.7224, allocations: 1.121 MB / 0.8271 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009509/0.7233, allocations: 273.8 kB / 0.8274 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.7235, allocations: 104 kB / 0.8275 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.726, allocations: 1.338 MB / 0.8288 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.726, allocations: 3.938 kB / 0.8288 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.7261, allocations: 44 kB / 0.8288 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/0.7262, allocations: 38 kB / 0.8289 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.7288, allocations: 1.12 MB / 0.83 GB, free: 1.758 MB / 0.6387 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.2398/0.9686, allocations: 6.64 MB / 0.8365 GB, free: 230 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.9705, allocations: 0.6039 MB / 0.837 GB, free: 230 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.9712, allocations: 284.6 kB / 0.8373 GB, free: 230 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.9715, allocations: 287.2 kB / 0.8376 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9716, allocations: 40.97 kB / 0.8376 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.9716, allocations: 0 / 0.8376 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002734/0.9743, allocations: 0.9083 MB / 0.8385 GB, free: 229.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.9744, allocations: 56.95 kB / 0.8386 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.9767, allocations: 1.367 MB / 0.8399 GB, free: 229.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.9768, allocations: 31.92 kB / 0.8399 GB, free: 229.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.9772, allocations: 0.6905 MB / 0.8406 GB, free: 229 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.9773, allocations: 116.7 kB / 0.8407 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.9774, allocations: 54.58 kB / 0.8408 GB, free: 228.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.9775, allocations: 331.5 kB / 0.8411 GB, free: 228.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009372/0.9784, allocations: 323.5 kB / 0.8414 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.9795, allocations: 0.6463 MB / 0.842 GB, free: 228 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.9814, allocations: 0.8897 MB / 0.8429 GB, free: 227.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.9814, allocations: 2.781 kB / 0.8429 GB, free: 227.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00253/0.9839, allocations: 1.046 MB / 0.8439 GB, free: 227.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.9841, allocations: 369.2 kB / 0.8443 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.9841, allocations: 9.938 kB / 0.8443 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.9841, allocations: 15.28 kB / 0.8443 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.985, allocations: 204.2 kB / 0.8445 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.985, allocations: 19.59 kB / 0.8445 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.9865, allocations: 229.7 kB / 0.8447 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.9866, allocations: 37.19 kB / 0.8448 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.9866, allocations: 5.031 kB / 0.8448 GB, free: 226.6 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002256/0.9889, allocations: 0.8896 MB / 0.8456 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.9889, allocations: 9.531 kB / 0.8456 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.989, allocations: 17 kB / 0.8457 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.9898, allocations: 205.9 kB / 0.8459 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.9898, allocations: 19.66 kB / 0.8459 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.9911, allocations: 196 kB / 0.8461 GB, free: 226.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.9912, allocations: 41.38 kB / 0.8461 GB, free: 226.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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 0.0005715/0.9918, allocations: 414.6 kB / 0.8465 GB, free: 225.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.992, allocations: 140.1 kB / 0.8466 GB, free: 225.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.9938, allocations: 0.6838 MB / 0.8473 GB, free: 225.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9938, allocations: 3.219 kB / 0.8473 GB, free: 225.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9938, allocations: 0.9688 kB / 0.8473 GB, free: 225.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9938, allocations: 5.547 kB / 0.8473 GB, free: 225.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.9977, allocations: 1.966 MB / 0.8492 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9978, allocations: 4.125 kB / 0.8492 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.9983, allocations: 109.2 kB / 0.8493 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.9983, allocations: 7.25 kB / 0.8493 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.9984, allocations: 15.73 kB / 0.8494 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.9984, allocations: 10.72 kB / 0.8494 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9984, allocations: 4.469 kB / 0.8494 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1, allocations: 0.8499 MB / 0.8502 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/1, allocations: 304 kB / 0.8505 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/1.001, allocations: 13.5 kB / 0.8505 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.002, allocations: 109.6 kB / 0.8506 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/1.002, allocations: 38.56 kB / 0.8506 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/1.002, allocations: 23.84 kB / 0.8507 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001473/1.003, allocations: 0.9964 MB / 0.8516 GB, free: 223.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.7e-07/1.003, allocations: 0 / 0.8516 GB, free: 223.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001784/1.005, allocations: 0.5687 MB / 0.8522 GB, free: 223.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002237/1.007, allocations: 1.558 MB / 0.8537 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.01, allocations: 1.14 MB / 0.8548 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.01, allocations: 1.062 kB / 0.8548 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007188/1.011, allocations: 280.9 kB / 0.8551 GB, free: 222 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.016, allocations: 0.7872 MB / 0.8559 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.035, allocations: 10.85 MB / 0.8665 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/1.036, allocations: 1.18 MB / 0.8676 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001724/1.037, allocations: 373.9 kB / 0.868 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/1.038, allocations: 0.4945 MB / 0.8685 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/1.038, allocations: 0 / 0.8685 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/1.533, allocations: 36.05 MB / 0.9037 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.534, allocations: 233.6 kB / 0.9039 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/4.111, allocations: 7.938 kB / 0.9039 GB, free: 181.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)