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.001539/0.001539, allocations: 104.4 kB / 15.98 MB, free: 6.352 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.001693/0.001693, allocations: 189.3 kB / 16.9 MB, free: 6.195 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6803/0.6803, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3157, allocations: 76.18 MB / 0.556 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.4729/0.7886, allocations: 234.6 MB / 0.7851 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.8057, allocations: 15.69 MB / 0.8005 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.8078, allocations: 59.22 kB / 0.8005 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.8102, allocations: 0.9146 MB / 0.8014 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.8168, allocations: 2.793 MB / 0.8041 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.8208, allocations: 1.532 MB / 0.8056 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004028/0.8249, allocations: 3.437 MB / 0.809 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.827, allocations: 1.252 MB / 0.8102 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006458/0.8335, allocations: 2.487 MB / 0.8126 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.8363, allocations: 1.15 MB / 0.8138 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005214/0.8368, allocations: 122.2 kB / 0.8139 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/0.843, allocations: 3.266 MB / 0.8171 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000845/0.8438, allocations: 484.3 kB / 0.8175 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.8453, allocations: 0.8166 MB / 0.8183 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/0.8508, allocations: 3.147 MB / 0.8214 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8509, allocations: 0.8125 kB / 0.8214 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8509, allocations: 0 / 0.8214 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.867e-05/0.8509, allocations: 0 / 0.8214 GB, free: 16.25 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.004056/0.855, allocations: 2 MB / 0.8234 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.855, allocations: 8.562 kB / 0.8234 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.8553, allocations: 154.5 kB / 0.8235 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.8579, allocations: 0.4935 MB / 0.824 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.8601, allocations: 1.121 MB / 0.8251 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008231/0.8609, allocations: 243.4 kB / 0.8253 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.861, allocations: 104.5 kB / 0.8254 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.8633, allocations: 1.315 MB / 0.8267 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.8633, allocations: 5.75 kB / 0.8267 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.8634, allocations: 43.91 kB / 0.8268 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.8635, allocations: 43.61 kB / 0.8268 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.8657, allocations: 1.076 MB / 0.8279 GB, free: 14.07 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.00712/0.8728, allocations: 6.618 MB / 0.8343 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.8743, allocations: 0.5696 MB / 0.8349 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.8749, allocations: 270.1 kB / 0.8351 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.8753, allocations: 285 kB / 0.8354 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.8753, allocations: 40.75 kB / 0.8354 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.8754, allocations: 7.875 kB / 0.8354 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00223/0.8776, allocations: 0.862 MB / 0.8363 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.8776, allocations: 60.38 kB / 0.8363 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8793, allocations: 1.355 MB / 0.8377 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.8793, allocations: 35.7 kB / 0.8377 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.8799, allocations: 0.6874 MB / 0.8384 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.88, allocations: 121.4 kB / 0.8385 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.8802, allocations: 150.4 kB / 0.8386 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8803, allocations: 330.3 kB / 0.8389 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.8811, allocations: 311 kB / 0.8392 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.8821, allocations: 0.6287 MB / 0.8399 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.8837, allocations: 0.8624 MB / 0.8407 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8837, allocations: 3.531 kB / 0.8407 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002117/0.8858, allocations: 0.9922 MB / 0.8417 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8858, allocations: 8.312 kB / 0.8417 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.8859, allocations: 8.656 kB / 0.8417 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.8859, allocations: 18.25 kB / 0.8417 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.8867, allocations: 201.5 kB / 0.8419 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.8867, allocations: 15.84 kB / 0.8419 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8881, allocations: 207.8 kB / 0.8421 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.8881, allocations: 45.67 kB / 0.8422 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001096/0.8892, allocations: 0.5592 MB / 0.8427 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000937/0.8902, allocations: 0.6206 MB / 0.8433 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/0.8917, allocations: 0.8596 MB / 0.8441 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.8917, allocations: 5.562 kB / 0.8442 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002027/0.8937, allocations: 0.9915 MB / 0.8451 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8937, allocations: 8 kB / 0.8451 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.8938, allocations: 8 kB / 0.8451 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8938, allocations: 20 kB / 0.8452 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.8945, allocations: 205 kB / 0.8454 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.8945, allocations: 14.53 kB / 0.8454 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8957, allocations: 159.5 kB / 0.8455 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.8958, allocations: 36 kB / 0.8456 GB, free: 1.859 MB / 0.5919 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.0001896/0.896, allocations: 229.4 kB / 0.8458 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.8962, allocations: 134.3 kB / 0.8459 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.8977, allocations: 0.6712 MB / 0.8466 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8977, allocations: 4 kB / 0.8466 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8977, allocations: 2.625 kB / 0.8466 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8977, allocations: 0 / 0.8466 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.901, allocations: 1.932 MB / 0.8484 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9011, allocations: 4 kB / 0.8484 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.9015, allocations: 93.33 kB / 0.8485 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.9016, allocations: 11.94 kB / 0.8486 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.9016, allocations: 11.98 kB / 0.8486 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.9016, allocations: 14.56 kB / 0.8486 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9016, allocations: 4 kB / 0.8486 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.9031, allocations: 0.8281 MB / 0.8494 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.9035, allocations: 299.2 kB / 0.8497 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.9037, allocations: 11.94 kB / 0.8497 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.9048, allocations: 103.7 kB / 0.8498 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.9048, allocations: 34.53 kB / 0.8498 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.9049, allocations: 27.97 kB / 0.8498 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001266/0.9062, allocations: 0.9847 MB / 0.8508 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9062, allocations: 4 kB / 0.8508 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001486/0.9077, allocations: 0.5694 MB / 0.8514 GB, free: 11.75 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.002104/0.9098, allocations: 1.521 MB / 0.8529 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.9123, allocations: 1.107 MB / 0.8539 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9124, allocations: 0.9375 kB / 0.8539 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.913, allocations: 262.5 kB / 0.8542 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.9159, allocations: 0.7558 MB / 0.8549 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.9334, allocations: 10.72 MB / 0.8654 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.934, allocations: 1.182 MB / 0.8665 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001402/0.9355, allocations: 363.5 kB / 0.8669 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/0.9361, allocations: 499.3 kB / 0.8674 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.9361, allocations: 0 / 0.8674 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.967, allocations: 34.74 MB / 0.9013 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.967, allocations: 240.3 kB / 0.9015 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/4.797, allocations: 3.938 kB / 0.9015 GB, free: 8.27 MB / 0.6544 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)