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.002066/0.002066, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002691/0.002691, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.548/1.548, allocations: 207.6 MB / 235.2 MB, free: 10 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.3161/0.3161, allocations: 49.57 MB / 337.1 MB, free: 4.098 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: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [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.002488/0.002488, allocations: 71.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1399, allocations: 62.42 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5067/0.6467, allocations: 161.6 MB / 0.6851 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6617, allocations: 10.01 MB / 0.6949 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005711/0.6623, allocations: 11.88 kB / 0.6949 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.6629, allocations: 103.2 kB / 0.695 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00702/0.6699, allocations: 2.104 MB / 0.6971 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.6797, allocations: 2.61 MB / 0.6996 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.6827, allocations: 2.008 MB / 0.7016 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.6838, allocations: 0.5078 MB / 0.7021 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.6851, allocations: 0.6004 MB / 0.7027 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.6888, allocations: 1.496 MB / 0.7041 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.6892, allocations: 100 kB / 0.7042 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0148/0.704, allocations: 5.963 MB / 0.71 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.705, allocations: 0.5651 MB / 0.7106 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.7066, allocations: 0.6381 MB / 0.7112 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.7189, allocations: 4.38 MB / 0.7155 GB, free: 4.594 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.7189, allocations: 0 / 0.7155 GB, free: 4.594 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7189, allocations: 0 / 0.7155 GB, free: 4.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.855e-05/0.719, allocations: 0 / 0.7155 GB, free: 4.594 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.007147/0.7261, allocations: 1.801 MB / 0.7172 GB, free: 2.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.432e-05/0.7262, allocations: 12.03 kB / 0.7173 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.7291, allocations: 284 kB / 0.7175 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.7307, allocations: 0.5521 MB / 0.7181 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.7308, allocations: 66.38 kB / 0.7181 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.7311, allocations: 92.56 kB / 0.7182 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.7354, allocations: 1.667 MB / 0.7198 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.7354, allocations: 4 kB / 0.7199 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.7356, allocations: 40.08 kB / 0.7199 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.7356, allocations: 31.92 kB / 0.7199 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.7394, allocations: 1.682 MB / 0.7216 GB, free: 14.25 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.0095/0.7489, allocations: 5.52 MB / 0.727 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/0.7532, allocations: 1.921 MB / 0.7288 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.7548, allocations: 0.8615 MB / 0.7297 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04214/0.797, allocations: 11.27 MB / 0.7407 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/0.797, allocations: 60.44 kB / 0.7407 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=180): time 4.168e-06/0.797, allocations: 0 / 0.7407 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=180): time 0.06869/0.8657, allocations: 14.54 MB / 0.7549 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.8658, allocations: 69.41 kB / 0.755 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/0.8666, allocations: 445.8 kB / 0.7554 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.8667, allocations: 53.7 kB / 0.7555 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.867, allocations: 270.4 kB / 0.7557 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000783/0.8678, allocations: 0.6428 MB / 0.7564 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005586/0.8684, allocations: 291.5 kB / 0.7566 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.8686, allocations: 338 kB / 0.757 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.87, allocations: 0.7425 MB / 0.7577 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.8717, allocations: 0.9548 MB / 0.7586 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.875, allocations: 1.87 MB / 0.7604 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.875, allocations: 3.938 kB / 0.7604 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005583/0.8806, allocations: 2.695 MB / 0.7631 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.8806, allocations: 8 kB / 0.7631 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.8807, allocations: 7.984 kB / 0.7631 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.8916, allocations: 2.249 MB / 0.7653 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.8924, allocations: 159.8 kB / 0.7654 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.269/1.161, allocations: 3.53 MB / 0.7689 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.163, allocations: 141 kB / 0.769 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.163, allocations: 71.66 kB / 0.7691 GB, free: 206.9 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.0006069/1.163, allocations: 331.3 kB / 0.7694 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/1.164, allocations: 105.6 kB / 0.7695 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.178, allocations: 9.291 MB / 0.7786 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/1.178, allocations: 117.3 kB / 0.7787 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.178, allocations: 0.8125 kB / 0.7787 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/1.178, allocations: 12.09 kB / 0.7787 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.193, allocations: 10.74 MB / 0.7892 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.193, allocations: 1.25 kB / 0.7892 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.194, allocations: 115.5 kB / 0.7893 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/1.207, allocations: 4.954 MB / 0.7941 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/1.207, allocations: 54.36 kB / 0.7942 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009012/1.216, allocations: 8.17 MB / 0.8022 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.216, allocations: 2.844 kB / 0.8022 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/1.224, allocations: 7.426 MB / 0.8094 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.225, allocations: 0.5468 MB / 0.81 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.225, allocations: 59.81 kB / 0.81 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/1.226, allocations: 79.89 kB / 0.8101 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.226, allocations: 139.6 kB / 0.8102 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.226, allocations: 71.97 kB / 0.8103 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003941/1.227, allocations: 410.8 kB / 0.8107 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.227, allocations: 1.641 kB / 0.8107 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002781/1.23, allocations: 1.199 MB / 0.8119 GB, free: 185.1 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.003505/1.233, allocations: 1.023 MB / 0.8129 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005863/1.239, allocations: 3.4 MB / 0.8162 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.239, allocations: 0 / 0.8162 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003993/1.243, allocations: 2.4 MB / 0.8185 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.246, allocations: 0.7546 MB / 0.8193 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/1.254, allocations: 5.447 MB / 0.8246 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.255, allocations: 1.591 MB / 0.8261 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/1.255, allocations: 75.41 kB / 0.8262 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/1.255, allocations: 0 / 0.8262 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.05408/1.309, allocations: 42.39 MB / 0.8676 GB, free: 128 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.948235207935795] Failed to read output from testmodel.py, exit status != 0: 1.3191787598188967 1.328551378 0.607069536 Calling exit ...