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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.357/1.357, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2955/0.2955, allocations: 49.57 MB / 336.3 MB, free: 4.117 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 72.33 kB / 476.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.122, allocations: 62.43 MB / 0.5261 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4149/0.5369, allocations: 161.5 MB / 0.6839 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.551, allocations: 10.02 MB / 0.6937 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.5514, allocations: 11.88 kB / 0.6937 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.552, allocations: 103.2 kB / 0.6938 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.558, allocations: 2.104 MB / 0.6958 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00789/0.5659, allocations: 2.607 MB / 0.6984 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.5683, allocations: 2.012 MB / 0.7004 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009255/0.5692, allocations: 0.5055 MB / 0.7008 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5704, allocations: 0.6004 MB / 0.7014 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.5738, allocations: 1.488 MB / 0.7029 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.5742, allocations: 100 kB / 0.703 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.5866, allocations: 5.967 MB / 0.7088 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008579/0.5875, allocations: 0.5612 MB / 0.7094 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.5889, allocations: 0.6381 MB / 0.71 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009121/0.598, allocations: 4.384 MB / 0.7143 GB, free: 4.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.598, allocations: 0 / 0.7143 GB, free: 4.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.598, allocations: 0 / 0.7143 GB, free: 4.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.654e-05/0.598, allocations: 3.938 kB / 0.7143 GB, free: 4.844 MB / 0.545 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.005744/0.6038, allocations: 1.797 MB / 0.716 GB, free: 3.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6038, allocations: 12.03 kB / 0.716 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/0.6041, allocations: 152.2 kB / 0.7162 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.6066, allocations: 288.1 kB / 0.7165 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.6079, allocations: 0.552 MB / 0.717 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.608, allocations: 70.38 kB / 0.7171 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.6081, allocations: 92.38 kB / 0.7171 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.6118, allocations: 1.663 MB / 0.7188 GB, free: 112 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.6118, allocations: 0 / 0.7188 GB, free: 112 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6119, allocations: 40 kB / 0.7188 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.6119, allocations: 24.88 kB / 0.7188 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/0.6156, allocations: 1.686 MB / 0.7205 GB, free: 14.36 MB / 0.5606 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.008131/0.6238, allocations: 5.52 MB / 0.7259 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/0.6276, allocations: 1.921 MB / 0.7277 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.6291, allocations: 0.8615 MB / 0.7286 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03956/0.6686, allocations: 11.27 MB / 0.7396 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.636e-05/0.6687, allocations: 52.56 kB / 0.7396 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=180): time 4.208e-06/0.6687, allocations: 0 / 0.7396 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=180): time 0.06592/0.7346, allocations: 14.55 MB / 0.7538 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.7347, allocations: 69.41 kB / 0.7539 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.7353, allocations: 449.8 kB / 0.7543 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.7355, allocations: 49.7 kB / 0.7544 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.7357, allocations: 270.4 kB / 0.7546 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006616/0.7364, allocations: 0.6428 MB / 0.7553 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00049/0.7369, allocations: 291.5 kB / 0.7556 GB, free: 10 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.737, allocations: 345.9 kB / 0.7559 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.7384, allocations: 0.7378 MB / 0.7566 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.74, allocations: 0.9625 MB / 0.7575 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.7431, allocations: 1.87 MB / 0.7594 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.7431, allocations: 8 kB / 0.7594 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004924/0.748, allocations: 2.695 MB / 0.762 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.7481, allocations: 11.91 kB / 0.762 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.7481, allocations: 4 kB / 0.762 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.7589, allocations: 2.238 MB / 0.7642 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.7597, allocations: 163.8 kB / 0.7644 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2307/0.9903, allocations: 3.536 MB / 0.7678 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.9913, allocations: 141.4 kB / 0.768 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.9915, allocations: 69.42 kB / 0.768 GB, free: 206.4 MB / 0.5919 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.000503/0.992, allocations: 326.2 kB / 0.7683 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.9922, allocations: 105.1 kB / 0.7684 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.004, allocations: 9.295 MB / 0.7775 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/1.004, allocations: 113.9 kB / 0.7776 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.004, allocations: 0 / 0.7776 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/1.004, allocations: 12.05 kB / 0.7776 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/1.016, allocations: 10.74 MB / 0.7881 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.017, allocations: 1.156 kB / 0.7881 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/1.017, allocations: 118.1 kB / 0.7882 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/1.029, allocations: 4.945 MB / 0.7931 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/1.029, allocations: 49.98 kB / 0.7931 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/1.037, allocations: 8.177 MB / 0.8011 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.037, allocations: 0 / 0.8011 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/1.044, allocations: 7.431 MB / 0.8084 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/1.045, allocations: 0.551 MB / 0.8089 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/1.045, allocations: 51.89 kB / 0.8089 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/1.046, allocations: 77.77 kB / 0.809 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.046, allocations: 141.7 kB / 0.8091 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.046, allocations: 71.97 kB / 0.8092 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000373/1.047, allocations: 414.8 kB / 0.8096 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/1.047, allocations: 0.5938 kB / 0.8096 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002575/1.049, allocations: 1.205 MB / 0.8108 GB, free: 185 MB / 0.5919 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.009506/1.059, allocations: 7.343 MB / 0.818 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005178/1.064, allocations: 3.402 MB / 0.8213 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.064, allocations: 2.531 kB / 0.8213 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.068, allocations: 2.4 MB / 0.8236 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/1.071, allocations: 0.7497 MB / 0.8244 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.089, allocations: 15.43 MB / 0.8394 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/1.09, allocations: 1.591 MB / 0.841 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006983/1.09, allocations: 383.4 kB / 0.8413 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/1.091, allocations: 0.7141 MB / 0.842 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/1.091, allocations: 0 / 0.842 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.211, allocations: 96.96 MB / 0.9367 GB, free: 55.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/20.9, allocations: 7.938 kB / 0.9367 GB, free: 55.58 MB / 0.5919 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.330491613131016] Failed to read output from testmodel.py, exit status != 0: 21.070066103944555 21.088123259 20.486337765 Calling exit ...