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.001157/0.001157, allocations: 101.5 kB / 16.27 MB, free: 5.977 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.001206/0.001206, allocations: 186.4 kB / 17.19 MB, free: 5.605 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.679/0.679, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 64.11 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.298, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.4937/0.7918, allocations: 237.5 MB / 0.7992 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.8082, allocations: 15.79 MB / 0.8146 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.8107, allocations: 63.06 kB / 0.8147 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.813, allocations: 1.039 MB / 0.8157 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.8197, allocations: 2.982 MB / 0.8186 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.824, allocations: 1.657 MB / 0.8202 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005042/0.8291, allocations: 3.434 MB / 0.8236 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.8311, allocations: 1.291 MB / 0.8249 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006177/0.8373, allocations: 2.493 MB / 0.8273 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.8393, allocations: 1.082 MB / 0.8283 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.8396, allocations: 118 kB / 0.8285 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.8453, allocations: 3.093 MB / 0.8315 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.846, allocations: 476.3 kB / 0.8319 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.8472, allocations: 0.8123 MB / 0.8327 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.8522, allocations: 2.938 MB / 0.8356 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8522, allocations: 2.938 kB / 0.8356 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8522, allocations: 0 / 0.8356 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.8523, allocations: 0 / 0.8356 GB, free: 14.79 MB / 0.5919 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.003485/0.8558, allocations: 2.002 MB / 0.8376 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8558, allocations: 11.09 kB / 0.8376 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.856, allocations: 151.9 kB / 0.8377 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.8587, allocations: 0.4948 MB / 0.8382 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.8607, allocations: 1.11 MB / 0.8393 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009174/0.8616, allocations: 239.2 kB / 0.8395 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.8618, allocations: 102.1 kB / 0.8396 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/0.8641, allocations: 1.367 MB / 0.8409 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.8641, allocations: 5.062 kB / 0.8409 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.8642, allocations: 42.27 kB / 0.841 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.8642, allocations: 60.8 kB / 0.841 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.8666, allocations: 1.076 MB / 0.8421 GB, free: 10.52 MB / 0.5919 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.00797/0.8746, allocations: 7.442 MB / 0.8494 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.8762, allocations: 0.5642 MB / 0.8499 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.8769, allocations: 277.4 kB / 0.8502 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003684/0.8772, allocations: 285 kB / 0.8504 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8773, allocations: 33.19 kB / 0.8505 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.8773, allocations: 0 / 0.8505 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002419/0.8797, allocations: 0.8786 MB / 0.8513 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8798, allocations: 55.41 kB / 0.8514 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.8815, allocations: 1.395 MB / 0.8528 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.8816, allocations: 33.7 kB / 0.8528 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.8821, allocations: 0.6974 MB / 0.8535 GB, free: 384 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.8822, allocations: 129.1 kB / 0.8536 GB, free: 256 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.8824, allocations: 162.4 kB / 0.8537 GB, free: 88 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8825, allocations: 337.9 kB / 0.8541 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.8834, allocations: 335.1 kB / 0.8544 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.8845, allocations: 0.6942 MB / 0.8551 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.8863, allocations: 0.9526 MB / 0.856 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8863, allocations: 4 kB / 0.856 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002438/0.8887, allocations: 1.076 MB / 0.857 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.8888, allocations: 8 kB / 0.8571 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.8888, allocations: 15.98 kB / 0.8571 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.8888, allocations: 16 kB / 0.8571 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.8897, allocations: 208.8 kB / 0.8573 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.8897, allocations: 25.05 kB / 0.8573 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.8911, allocations: 194.6 kB / 0.8575 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.8912, allocations: 39.98 kB / 0.8575 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001235/0.8925, allocations: 0.5844 MB / 0.8581 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.8935, allocations: 0.7122 MB / 0.8588 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001755/0.8953, allocations: 0.941 MB / 0.8597 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-06/0.8953, allocations: 7.984 kB / 0.8597 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002462/0.8978, allocations: 1.075 MB / 0.8608 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8978, allocations: 10.72 kB / 0.8608 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8978, allocations: 12 kB / 0.8608 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8979, allocations: 20 kB / 0.8608 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.8987, allocations: 212.6 kB / 0.861 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.8987, allocations: 25.05 kB / 0.861 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.9001, allocations: 139.5 kB / 0.8612 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.9001, allocations: 40 kB / 0.8612 GB, free: 8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002211/0.9004, allocations: 248.8 kB / 0.8615 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.9006, allocations: 142.2 kB / 0.8616 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.9024, allocations: 0.6546 MB / 0.8622 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9024, allocations: 4 kB / 0.8622 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9024, allocations: 0 / 0.8622 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9024, allocations: 3.984 kB / 0.8622 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.906, allocations: 1.93 MB / 0.8641 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.906, allocations: 7.094 kB / 0.8641 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.9065, allocations: 99.25 kB / 0.8642 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9065, allocations: 4 kB / 0.8642 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.9065, allocations: 12 kB / 0.8642 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.9066, allocations: 11.08 kB / 0.8642 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9066, allocations: 4 kB / 0.8643 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.9082, allocations: 0.826 MB / 0.8651 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.9087, allocations: 294.2 kB / 0.8653 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.9089, allocations: 12 kB / 0.8654 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.91, allocations: 75.92 kB / 0.8654 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.9101, allocations: 31.09 kB / 0.8655 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.9102, allocations: 27.97 kB / 0.8655 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001458/0.9116, allocations: 1.017 MB / 0.8665 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9116, allocations: 0 / 0.8665 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001792/0.9134, allocations: 0.5695 MB / 0.867 GB, free: 1.891 MB / 0.6075 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.002326/0.9158, allocations: 1.531 MB / 0.8685 GB, free: 324 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.9188, allocations: 1.176 MB / 0.8697 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9189, allocations: 4 kB / 0.8697 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.9196, allocations: 263.4 kB / 0.8699 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/0.9234, allocations: 0.7448 MB / 0.8707 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.9407, allocations: 10.67 MB / 0.8811 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.9415, allocations: 1.19 MB / 0.8822 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00165/0.9432, allocations: 383.8 kB / 0.8826 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.9438, allocations: 0.4914 MB / 0.8831 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of SimCode: time 9.21e-07/0.9438, allocations: 0 / 0.8831 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.435/3.379, allocations: 35.41 MB / 0.9177 GB, free: 13.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/14.74, allocations: 4.688 kB / 0.9177 GB, free: 13.86 MB / 0.67 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)