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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") translateModel(IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002271/0.002278, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4568/0.4568, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.5 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 51.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3107, allocations: 70.06 MB / 0.5575 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.5329/0.8436, allocations: 235.4 MB / 0.7874 GB, free: 300 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.865, allocations: 15.91 MB / 0.8029 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.868, allocations: 55.12 kB / 0.8029 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.871, allocations: 0.8759 MB / 0.8038 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.008376/0.8795, allocations: 2.785 MB / 0.8065 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.8838, allocations: 1.526 MB / 0.808 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005639/0.8894, allocations: 4.679 MB / 0.8126 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.8911, allocations: 1.081 MB / 0.8136 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007223/0.8983, allocations: 2.275 MB / 0.8159 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.9012, allocations: 1.119 MB / 0.817 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.9015, allocations: 68 kB / 0.817 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/0.9081, allocations: 3.597 MB / 0.8205 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.9087, allocations: 433.1 kB / 0.8209 GB, free: 352 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.9103, allocations: 0.7495 MB / 0.8217 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006881/0.9172, allocations: 3.108 MB / 0.8247 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9172, allocations: 0 / 0.8247 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9172, allocations: 0 / 0.8247 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.85e-05/0.9173, allocations: 0 / 0.8247 GB, free: 12.74 MB / 0.5417 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.00388/0.9212, allocations: 2.012 MB / 0.8267 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9212, allocations: 12.03 kB / 0.8267 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.9238, allocations: 497.6 kB / 0.8272 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.926, allocations: 1.111 MB / 0.8282 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009146/0.9269, allocations: 249.4 kB / 0.8285 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.927, allocations: 103.9 kB / 0.8286 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.9295, allocations: 1.323 MB / 0.8299 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9295, allocations: 6.531 kB / 0.8299 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.9297, allocations: 40 kB / 0.8299 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.9297, allocations: 49.97 kB / 0.83 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.9322, allocations: 1.072 MB / 0.831 GB, free: 6.207 MB / 0.5417 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.007306/0.9396, allocations: 6.636 MB / 0.8375 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.9413, allocations: 0.5646 MB / 0.838 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.942, allocations: 265.2 kB / 0.8383 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.9424, allocations: 287.6 kB / 0.8386 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9424, allocations: 37.38 kB / 0.8386 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.9424, allocations: 0 / 0.8386 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.002569/0.945, allocations: 0.8615 MB / 0.8395 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.9451, allocations: 55.41 kB / 0.8395 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.9471, allocations: 1.365 MB / 0.8408 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.9472, allocations: 37.7 kB / 0.8409 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.9477, allocations: 0.6894 MB / 0.8415 GB, free: 11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.9478, allocations: 118.4 kB / 0.8417 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.9481, allocations: 154 kB / 0.8418 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9482, allocations: 334 kB / 0.8421 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.9491, allocations: 319.2 kB / 0.8424 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.9503, allocations: 0.6454 MB / 0.8431 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.9521, allocations: 0.8725 MB / 0.8439 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.9521, allocations: 4 kB / 0.8439 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002465/0.9546, allocations: 1.012 MB / 0.8449 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9546, allocations: 14.42 kB / 0.8449 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.9546, allocations: 8 kB / 0.8449 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.9547, allocations: 16 kB / 0.8449 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.9555, allocations: 194.5 kB / 0.8451 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.102e-05/0.9555, allocations: 24.98 kB / 0.8451 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.9569, allocations: 216.5 kB / 0.8454 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.957, allocations: 35.98 kB / 0.8454 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.9583, allocations: 0.5714 MB / 0.8459 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/0.9595, allocations: 0.6455 MB / 0.8466 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001774/0.9613, allocations: 0.8753 MB / 0.8474 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/0.9613, allocations: 4 kB / 0.8474 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002467/0.9638, allocations: 1.012 MB / 0.8484 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9638, allocations: 10.62 kB / 0.8484 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9638, allocations: 16 kB / 0.8484 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9638, allocations: 12 kB / 0.8485 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.9646, allocations: 190.1 kB / 0.8486 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.9646, allocations: 24.95 kB / 0.8487 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.966, allocations: 163.3 kB / 0.8488 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.9661, allocations: 35.98 kB / 0.8489 GB, free: 3.117 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.0002574/0.9664, allocations: 238.4 kB / 0.8491 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.9666, allocations: 136.8 kB / 0.8492 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.9683, allocations: 0.6596 MB / 0.8499 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.9684, allocations: 4 kB / 0.8499 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.9684, allocations: 11.94 kB / 0.8499 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9684, allocations: 0 / 0.8499 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.9721, allocations: 1.928 MB / 0.8518 GB, free: 48 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.9722, allocations: 4 kB / 0.8518 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.9727, allocations: 96.02 kB / 0.8519 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.9727, allocations: 8 kB / 0.8519 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.9728, allocations: 15.92 kB / 0.8519 GB, free: 15.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.9728, allocations: 11.94 kB / 0.8519 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9728, allocations: 4 kB / 0.8519 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.9758, allocations: 1.913 MB / 0.8538 GB, free: 13.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.9763, allocations: 311 kB / 0.8541 GB, free: 13.56 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.9765, allocations: 11.98 kB / 0.8541 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.9776, allocations: 91.91 kB / 0.8542 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.9777, allocations: 35.84 kB / 0.8542 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.9778, allocations: 23.97 kB / 0.8542 GB, free: 13.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001454/0.9792, allocations: 0.9886 MB / 0.8552 GB, free: 12.42 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9792, allocations: 0 / 0.8552 GB, free: 12.42 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001929/0.9812, allocations: 0.5811 MB / 0.8557 GB, free: 11.84 MB / 0.573 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.00058/0.9817, allocations: 270.8 kB / 0.856 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003014/0.9848, allocations: 1.108 MB / 0.8571 GB, free: 10.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.9848, allocations: 0 / 0.8571 GB, free: 10.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.9855, allocations: 269.4 kB / 0.8573 GB, free: 10.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/0.9892, allocations: 0.7399 MB / 0.8581 GB, free: 9.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.9948, allocations: 2.91 MB / 0.8609 GB, free: 6.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.9957, allocations: 1.189 MB / 0.8621 GB, free: 5.262 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001773/0.9975, allocations: 367.5 kB / 0.8624 GB, free: 4.898 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.9978, allocations: 91.42 kB / 0.8625 GB, free: 4.809 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.9978, allocations: 0 / 0.8625 GB, free: 4.809 MB / 0.573 GB Notification: Performance of Templates: time 0.04348/1.041, allocations: 24.59 MB / 0.8865 GB, free: 12.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)