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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108.5 kB / 16.92 MB, free: 5.895 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.00131/0.00131, allocations: 191.3 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2533/0.2533, allocations: 48.85 MB / 319.9 MB, free: 11.1 MB / 270.1 MB 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.00139/0.00139, allocations: 70.67 kB / 390.2 MB, free: 48.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08458, allocations: 59.15 MB / 449.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3251/0.4097, allocations: 160.8 MB / 0.5958 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4222, allocations: 9.919 MB / 0.6055 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.4227, allocations: 5.719 kB / 0.6055 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.4233, allocations: 98.39 kB / 0.6056 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.4285, allocations: 2.098 MB / 0.6077 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006601/0.4351, allocations: 2.585 MB / 0.6102 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.4369, allocations: 2.01 MB / 0.6121 GB, free: 204 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.4377, allocations: 0.5304 MB / 0.6127 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00084/0.4386, allocations: 0.5847 MB / 0.6132 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.4415, allocations: 1.468 MB / 0.6147 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.4418, allocations: 104.2 kB / 0.6148 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.4531, allocations: 5.798 MB / 0.6204 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.4538, allocations: 0.5612 MB / 0.621 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.4549, allocations: 0.6342 MB / 0.6216 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.4634, allocations: 4.369 MB / 0.6259 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4634, allocations: 0 / 0.6259 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4634, allocations: 0 / 0.6259 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.4635, allocations: 0 / 0.6259 GB, free: 5.238 MB / 446.1 MB 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.004759/0.4682, allocations: 1.837 MB / 0.6277 GB, free: 3.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4683, allocations: 15.89 kB / 0.6277 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.4685, allocations: 152.2 kB / 0.6278 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/0.4712, allocations: 283.5 kB / 0.6281 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4722, allocations: 0.6043 MB / 0.6287 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.4723, allocations: 70.38 kB / 0.6287 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.4726, allocations: 96.38 kB / 0.6288 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.4781, allocations: 1.663 MB / 0.6305 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.4781, allocations: 0 / 0.6305 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.4783, allocations: 39.94 kB / 0.6305 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.4784, allocations: 24 kB / 0.6305 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.4844, allocations: 1.69 MB / 0.6322 GB, free: 14.63 MB / 462.1 MB 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.009101/0.4935, allocations: 5.618 MB / 0.6377 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.4975, allocations: 2.036 MB / 0.6396 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.4989, allocations: 0.9593 MB / 0.6406 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04354/0.5425, allocations: 20.06 MB / 0.6602 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.5426, allocations: 44.56 kB / 0.6602 GB, free: 15.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.727e-06/0.5426, allocations: 4 kB / 0.6602 GB, free: 15.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.06788/0.6105, allocations: 14.67 MB / 0.6745 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.6106, allocations: 69.41 kB / 0.6746 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.6113, allocations: 445.8 kB / 0.675 GB, free: 92 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.6114, allocations: 57.7 kB / 0.6751 GB, free: 28 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.6117, allocations: 273.9 kB / 0.6753 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006414/0.6123, allocations: 0.6082 MB / 0.6759 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.6129, allocations: 291.5 kB / 0.6762 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.613, allocations: 337.9 kB / 0.6765 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6143, allocations: 0.7417 MB / 0.6773 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.6158, allocations: 0.947 MB / 0.6782 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.6186, allocations: 1.882 MB / 0.68 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6186, allocations: 0 / 0.68 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00448/0.6231, allocations: 2.75 MB / 0.6827 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6232, allocations: 12.09 kB / 0.6827 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6232, allocations: 4 kB / 0.6827 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009705/0.6329, allocations: 2.263 MB / 0.6849 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.6336, allocations: 160.9 kB / 0.6851 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.6388, allocations: 3.537 MB / 0.6885 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.6397, allocations: 142.5 kB / 0.6887 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.6398, allocations: 63.97 kB / 0.6887 GB, free: 1.863 MB / 0.4981 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.0004604/0.6403, allocations: 333.5 kB / 0.6891 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.6405, allocations: 98.88 kB / 0.6892 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.6519, allocations: 9.389 MB / 0.6983 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.732e-05/0.652, allocations: 115.8 kB / 0.6984 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6521, allocations: 0 / 0.6984 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.6521, allocations: 11.95 kB / 0.6984 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6637, allocations: 10.78 MB / 0.709 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.6638, allocations: 0 / 0.709 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.6643, allocations: 115.8 kB / 0.7091 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/0.6752, allocations: 4.876 MB / 0.7138 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.6754, allocations: 55.97 kB / 0.7139 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009438/0.6848, allocations: 7.874 MB / 0.7216 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6848, allocations: 4 kB / 0.7216 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009273/0.6941, allocations: 7.542 MB / 0.729 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/0.695, allocations: 0.6097 MB / 0.7295 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.6952, allocations: 55.75 kB / 0.7296 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/0.696, allocations: 79.88 kB / 0.7297 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.6962, allocations: 133.8 kB / 0.7298 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.6964, allocations: 71.98 kB / 0.7299 GB, free: 7.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004542/0.6968, allocations: 410.8 kB / 0.7303 GB, free: 6.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6968, allocations: 0 / 0.7303 GB, free: 6.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002833/0.6997, allocations: 1.191 MB / 0.7314 GB, free: 5.707 MB / 0.545 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.1842/0.8839, allocations: 7.444 MB / 0.7387 GB, free: 223.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009213/0.8931, allocations: 4.199 MB / 0.7428 GB, free: 223.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8931, allocations: 1.094 kB / 0.7428 GB, free: 223.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.8974, allocations: 2.739 MB / 0.7455 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.9008, allocations: 0.759 MB / 0.7462 GB, free: 223.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.9206, allocations: 15.78 MB / 0.7616 GB, free: 216.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.9213, allocations: 1.588 MB / 0.7632 GB, free: 215.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007985/0.9221, allocations: 383.5 kB / 0.7635 GB, free: 215.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.9226, allocations: 0.7181 MB / 0.7642 GB, free: 214.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.9226, allocations: 0 / 0.7642 GB, free: 214.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.39/2.313, allocations: 91.74 MB / 0.8538 GB, free: 125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/17.18, allocations: 3.938 kB / 0.8538 GB, free: 125 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)