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.001826/0.001826, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002213/0.002213, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.448/1.448, allocations: 207.6 MB / 231.1 MB, free: 4.078 MB / 174.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.4281/0.4281, allocations: 49.51 MB / 332.5 MB, free: 0.6953 MB / 254.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.002088/0.002088, allocations: 71.2 kB / 470.8 MB, free: 41.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1151, allocations: 62.35 MB / 0.5207 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4927/0.6078, allocations: 161.3 MB / 0.6782 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.6183, allocations: 9.962 MB / 0.6879 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.6187, allocations: 10.81 kB / 0.6879 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.6191, allocations: 106.4 kB / 0.688 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.6237, allocations: 2.105 MB / 0.6901 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007339/0.631, allocations: 2.587 MB / 0.6926 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.6329, allocations: 2.009 MB / 0.6946 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.6335, allocations: 0.5132 MB / 0.6951 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.6341, allocations: 0.5982 MB / 0.6957 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.6369, allocations: 1.484 MB / 0.6971 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6371, allocations: 103.2 kB / 0.6972 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.6481, allocations: 5.95 MB / 0.703 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.6487, allocations: 0.5647 MB / 0.7036 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008398/0.6496, allocations: 0.6308 MB / 0.7042 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008744/0.6583, allocations: 4.388 MB / 0.7085 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6583, allocations: 1.094 kB / 0.7085 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6583, allocations: 4 kB / 0.7085 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.6583, allocations: 0 / 0.7085 GB, free: 9.473 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.005007/0.6634, allocations: 1.875 MB / 0.7103 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.6634, allocations: 13.89 kB / 0.7103 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.6636, allocations: 152.1 kB / 0.7105 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.6661, allocations: 284.8 kB / 0.7108 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/0.667, allocations: 0.6094 MB / 0.7113 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.6671, allocations: 72.03 kB / 0.7114 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.6672, allocations: 91.66 kB / 0.7115 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.6703, allocations: 1.667 MB / 0.7131 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6703, allocations: 0 / 0.7131 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.6704, allocations: 40.62 kB / 0.7132 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.6704, allocations: 22.53 kB / 0.7132 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.6736, allocations: 1.688 MB / 0.7148 GB, free: 6.82 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.006833/0.6804, allocations: 5.624 MB / 0.7203 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/0.684, allocations: 1.907 MB / 0.7222 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.6853, allocations: 0.8684 MB / 0.723 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04658/0.7319, allocations: 20.14 MB / 0.7427 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/0.732, allocations: 52.56 kB / 0.7428 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 4.659e-06/0.732, allocations: 0 / 0.7428 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06943/0.8014, allocations: 14.61 MB / 0.757 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.8015, allocations: 69.41 kB / 0.7571 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.8022, allocations: 445.9 kB / 0.7575 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.8025, allocations: 53.7 kB / 0.7576 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.8027, allocations: 278.3 kB / 0.7578 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/0.8035, allocations: 0.6329 MB / 0.7585 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006338/0.8042, allocations: 299.5 kB / 0.7587 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8044, allocations: 341.9 kB / 0.7591 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.8059, allocations: 0.7417 MB / 0.7598 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.8075, allocations: 0.947 MB / 0.7607 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.8108, allocations: 1.882 MB / 0.7626 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.8108, allocations: 0 / 0.7626 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005297/0.8161, allocations: 2.695 MB / 0.7652 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.8162, allocations: 4 kB / 0.7652 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.8162, allocations: 8 kB / 0.7652 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.8269, allocations: 2.241 MB / 0.7674 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.8277, allocations: 159.8 kB / 0.7675 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006473/0.8342, allocations: 3.539 MB / 0.771 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8352, allocations: 146.9 kB / 0.7711 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.8354, allocations: 71.97 kB / 0.7712 GB, free: 14.02 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.0006269/0.836, allocations: 333.5 kB / 0.7715 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.8363, allocations: 103.4 kB / 0.7716 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.8495, allocations: 8.96 MB / 0.7804 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001347/0.8496, allocations: 119.8 kB / 0.7805 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.8496, allocations: 3.984 kB / 0.7805 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.8496, allocations: 15.89 kB / 0.7805 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.8636, allocations: 10.38 MB / 0.7906 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.8637, allocations: 4.031 kB / 0.7906 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.8642, allocations: 119.8 kB / 0.7908 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/0.8772, allocations: 4.837 MB / 0.7955 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003699/0.8775, allocations: 51.98 kB / 0.7955 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.8897, allocations: 7.882 MB / 0.8032 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8897, allocations: 0 / 0.8032 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.9005, allocations: 7.172 MB / 0.8102 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.9016, allocations: 0.6111 MB / 0.8108 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.9019, allocations: 55.84 kB / 0.8109 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009949/0.9029, allocations: 75.88 kB / 0.811 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.9032, allocations: 137.7 kB / 0.8111 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.9034, allocations: 71.97 kB / 0.8112 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006231/0.904, allocations: 414.8 kB / 0.8116 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.904, allocations: 4 kB / 0.8116 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003817/0.9078, allocations: 1.198 MB / 0.8127 GB, free: 3.117 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.01492/0.9228, allocations: 7.184 MB / 0.8197 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007031/0.9298, allocations: 3.333 MB / 0.823 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9298, allocations: 4 kB / 0.823 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/0.9345, allocations: 2.33 MB / 0.8253 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.9383, allocations: 0.7588 MB / 0.826 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.9665, allocations: 15.3 MB / 0.841 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/0.9683, allocations: 1.591 MB / 0.8425 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009779/0.9692, allocations: 385.6 kB / 0.8429 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/0.9702, allocations: 0.7141 MB / 0.8436 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.9702, allocations: 0 / 0.8436 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4229/1.393, allocations: 92.62 MB / 0.934 GB, free: 313.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/19.92, allocations: 15.89 kB / 0.934 GB, free: 313.2 MB / 0.7012 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic_res.csv --start-time -50 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.6847153359995] Failed to read output from testmodel.py, exit status != 0: 20.067913184000645 20.085895421 19.424013489 Calling exit ...