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.001576/0.001576, allocations: 106 kB / 17.06 MB, free: 6.016 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.001862/0.001862, allocations: 195 kB / 18 MB, free: 5.094 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.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2768/0.2768, allocations: 48.84 MB / 320.1 MB, free: 11.03 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.001479/0.001479, allocations: 71.91 kB / 450 MB, free: 9.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 59.16 MB / 0.4973 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3955/0.5101, allocations: 160.8 MB / 0.6543 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.5227, allocations: 9.917 MB / 0.6639 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/0.5233, allocations: 7.938 kB / 0.664 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.5239, allocations: 111.2 kB / 0.6641 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008414/0.5324, allocations: 2.092 MB / 0.6661 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009289/0.5418, allocations: 2.586 MB / 0.6686 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.544, allocations: 2.009 MB / 0.6706 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009865/0.545, allocations: 0.5195 MB / 0.6711 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.546, allocations: 0.6004 MB / 0.6717 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.5494, allocations: 1.464 MB / 0.6731 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.5498, allocations: 104 kB / 0.6732 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.5628, allocations: 5.943 MB / 0.679 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.5639, allocations: 0.5573 MB / 0.6796 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.5656, allocations: 0.6381 MB / 0.6802 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5761, allocations: 4.362 MB / 0.6844 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5762, allocations: 4 kB / 0.6844 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5762, allocations: 4 kB / 0.6845 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-05/0.5762, allocations: 0 / 0.6845 GB, free: 10.39 MB / 0.5294 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.005415/0.5817, allocations: 1.837 MB / 0.6862 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5817, allocations: 11.89 kB / 0.6863 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/0.582, allocations: 148.2 kB / 0.6864 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.5846, allocations: 279.5 kB / 0.6867 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5857, allocations: 0.6122 MB / 0.6873 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.5858, allocations: 74.25 kB / 0.6873 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.586, allocations: 96.38 kB / 0.6874 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.5896, allocations: 1.663 MB / 0.689 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.5897, allocations: 4 kB / 0.6891 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.5898, allocations: 40 kB / 0.6891 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.5898, allocations: 27.98 kB / 0.6891 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.5935, allocations: 1.682 MB / 0.6908 GB, free: 3.777 MB / 0.5294 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.007684/0.6012, allocations: 5.616 MB / 0.6962 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.6052, allocations: 2.031 MB / 0.6982 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.6067, allocations: 0.9671 MB / 0.6992 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04249/0.6492, allocations: 20.14 MB / 0.7188 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/0.6493, allocations: 52.56 kB / 0.7189 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 4.288e-06/0.6493, allocations: 0 / 0.7189 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06878/0.7181, allocations: 14.67 MB / 0.7332 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.7182, allocations: 73.39 kB / 0.7333 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.7188, allocations: 445.9 kB / 0.7337 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.719, allocations: 49.7 kB / 0.7338 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.7192, allocations: 269.9 kB / 0.734 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000623/0.7199, allocations: 0.6122 MB / 0.7346 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004799/0.7204, allocations: 291.5 kB / 0.7349 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7205, allocations: 337.9 kB / 0.7352 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.7219, allocations: 0.7417 MB / 0.7359 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.7234, allocations: 0.9587 MB / 0.7369 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.7264, allocations: 1.874 MB / 0.7387 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.7264, allocations: 3.938 kB / 0.7387 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004849/0.7313, allocations: 2.75 MB / 0.7414 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7313, allocations: 4 kB / 0.7414 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.7313, allocations: 4 kB / 0.7414 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.7423, allocations: 2.248 MB / 0.7436 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.7432, allocations: 163.8 kB / 0.7438 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.7497, allocations: 3.533 MB / 0.7472 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.7508, allocations: 138.5 kB / 0.7473 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.751, allocations: 75.95 kB / 0.7474 GB, free: 6.938 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.0006386/0.7517, allocations: 329.5 kB / 0.7477 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.752, allocations: 98.88 kB / 0.7478 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2606/1.013, allocations: 9.339 MB / 0.7569 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001945/1.013, allocations: 117 kB / 0.757 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.013, allocations: 1.219 kB / 0.757 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/1.013, allocations: 13.41 kB / 0.7571 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.027, allocations: 10.76 MB / 0.7676 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.028, allocations: 6.672 kB / 0.7676 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/1.028, allocations: 114.1 kB / 0.7677 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/1.043, allocations: 4.847 MB / 0.7724 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005068/1.043, allocations: 53.23 kB / 0.7725 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.056, allocations: 7.87 MB / 0.7802 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.056, allocations: 1.312 kB / 0.7802 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.066, allocations: 7.551 MB / 0.7875 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009439/1.067, allocations: 0.6038 MB / 0.7881 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.068, allocations: 55.66 kB / 0.7882 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/1.069, allocations: 85.33 kB / 0.7883 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.069, allocations: 129.7 kB / 0.7884 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.069, allocations: 71.61 kB / 0.7884 GB, free: 203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004438/1.069, allocations: 408.9 kB / 0.7888 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 0.7888 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003199/1.073, allocations: 1.196 MB / 0.79 GB, free: 202.7 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.01003/1.083, allocations: 7.444 MB / 0.7973 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005693/1.088, allocations: 3.433 MB / 0.8006 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.088, allocations: 3.609 kB / 0.8006 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004024/1.092, allocations: 2.739 MB / 0.8033 GB, free: 191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.096, allocations: 0.7429 MB / 0.804 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.115, allocations: 15.35 MB / 0.819 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/1.116, allocations: 1.595 MB / 0.8206 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008654/1.117, allocations: 387.7 kB / 0.821 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/1.117, allocations: 0.7063 MB / 0.8216 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.117, allocations: 0 / 0.8216 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.239, allocations: 94.11 MB / 0.9135 GB, free: 77.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.64, allocations: 0 / 0.9135 GB, free: 77.86 MB / 0.5919 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)