Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 207.6 MB / 231.1 MB, free: 4.133 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4373/0.4373, allocations: 49.52 MB / 332.5 MB, free: 0.8008 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 72.08 kB / 470.8 MB, free: 41.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09319, allocations: 62.34 MB / 0.5206 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.436/0.5292, allocations: 161.3 MB / 0.6782 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009841/0.539, allocations: 9.956 MB / 0.6879 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.5394, allocations: 10.83 kB / 0.6879 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.5397, allocations: 105.1 kB / 0.688 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.5445, allocations: 2.103 MB / 0.69 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007085/0.5516, allocations: 2.59 MB / 0.6926 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.5533, allocations: 2.006 MB / 0.6945 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.554, allocations: 0.515 MB / 0.695 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.5546, allocations: 0.5957 MB / 0.6956 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.5574, allocations: 1.484 MB / 0.6971 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.5575, allocations: 103.7 kB / 0.6972 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.568, allocations: 5.955 MB / 0.703 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005581/0.5686, allocations: 0.5626 MB / 0.7035 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007566/0.5693, allocations: 0.6331 MB / 0.7041 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/0.577, allocations: 4.382 MB / 0.7084 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.577, allocations: 6.156 kB / 0.7084 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.577, allocations: 4 kB / 0.7084 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5771, allocations: 0 / 0.7084 GB, free: 9.098 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004911/0.582, allocations: 1.872 MB / 0.7103 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.582, allocations: 13.92 kB / 0.7103 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.5822, allocations: 155.9 kB / 0.7104 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.5847, allocations: 281.2 kB / 0.7107 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.5859, allocations: 0.6093 MB / 0.7113 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.5859, allocations: 71.66 kB / 0.7114 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5861, allocations: 91.78 kB / 0.7114 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.5891, allocations: 1.667 MB / 0.7131 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5891, allocations: 1.203 kB / 0.7131 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5892, allocations: 41.55 kB / 0.7131 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5892, allocations: 23.34 kB / 0.7131 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.5924, allocations: 1.682 MB / 0.7148 GB, free: 6.449 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.007398/0.5998, allocations: 5.625 MB / 0.7203 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.6034, allocations: 1.906 MB / 0.7221 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.6048, allocations: 0.8656 MB / 0.723 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04526/0.65, allocations: 20.15 MB / 0.7427 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.6501, allocations: 48.56 kB / 0.7427 GB, free: 11.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 3.217e-06/0.6501, allocations: 0 / 0.7427 GB, free: 11.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06707/0.7172, allocations: 14.62 MB / 0.757 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.7172, allocations: 69.41 kB / 0.757 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.7178, allocations: 441.9 kB / 0.7575 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.718, allocations: 57.64 kB / 0.7575 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.7182, allocations: 277.3 kB / 0.7578 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.7189, allocations: 0.6393 MB / 0.7584 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000495/0.7194, allocations: 287.5 kB / 0.7587 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7195, allocations: 337.9 kB / 0.759 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.7209, allocations: 0.7378 MB / 0.7597 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.7225, allocations: 0.9548 MB / 0.7607 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.7258, allocations: 1.874 MB / 0.7625 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.7258, allocations: 0 / 0.7625 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005299/0.7311, allocations: 2.703 MB / 0.7651 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7311, allocations: 8 kB / 0.7651 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7312, allocations: 7.984 kB / 0.7651 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.7419, allocations: 2.242 MB / 0.7673 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007901/0.7427, allocations: 163.8 kB / 0.7675 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.7491, allocations: 3.541 MB / 0.7709 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.7502, allocations: 146.9 kB / 0.7711 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.7504, allocations: 71.91 kB / 0.7712 GB, free: 13.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0006081/0.751, allocations: 330.4 kB / 0.7715 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.7513, allocations: 103.4 kB / 0.7716 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.7647, allocations: 8.964 MB / 0.7803 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001727/0.7649, allocations: 123.8 kB / 0.7804 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7649, allocations: 0 / 0.7804 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.7649, allocations: 11.95 kB / 0.7804 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.7789, allocations: 10.39 MB / 0.7906 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.7789, allocations: 4.031 kB / 0.7906 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.7795, allocations: 115.8 kB / 0.7907 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0127/0.7922, allocations: 4.837 MB / 0.7954 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/0.7925, allocations: 55.97 kB / 0.7955 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.8044, allocations: 7.878 MB / 0.8032 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8044, allocations: 0 / 0.8032 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.815, allocations: 7.172 MB / 0.8102 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.8163, allocations: 0.615 MB / 0.8108 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.8166, allocations: 55.84 kB / 0.8108 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8177, allocations: 79.88 kB / 0.8109 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.8179, allocations: 133.8 kB / 0.811 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.8181, allocations: 67.98 kB / 0.8111 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006085/0.8187, allocations: 410.8 kB / 0.8115 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8187, allocations: 4 kB / 0.8115 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003576/0.8223, allocations: 1.201 MB / 0.8127 GB, free: 3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/0.8359, allocations: 7.186 MB / 0.8197 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007776/0.8437, allocations: 3.333 MB / 0.8229 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8437, allocations: 0 / 0.8229 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00508/0.8488, allocations: 2.35 MB / 0.8252 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.8524, allocations: 0.7432 MB / 0.826 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/0.8816, allocations: 15.29 MB / 0.8409 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/0.8836, allocations: 1.595 MB / 0.8425 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001102/0.8847, allocations: 393.6 kB / 0.8428 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/0.8856, allocations: 0.714 MB / 0.8435 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/0.8856, allocations: 0 / 0.8435 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/1.296, allocations: 92.63 MB / 0.934 GB, free: 312.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/20.64, allocations: 12.39 kB / 0.934 GB, free: 312.7 MB / 0.7012 GB " [Timeout remaining time 639] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic_fmu --startTime=-50 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.59256260516122] Failed to read output from testmodel.py, exit status != 0: 20.792970076669008 20.802198006 20.222914196 Calling exit ...