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.001683/0.001683, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002031/0.002031, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.49/1.49, allocations: 207.6 MB / 231.8 MB, free: 4.062 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.4011/0.4011, allocations: 49.5 MB / 333.2 MB, free: 0.8359 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="cs",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.003485/0.003485, allocations: 74 kB / 471.5 MB, free: 41.01 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1261, allocations: 62.34 MB / 0.5213 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5184/0.6445, allocations: 161.3 MB / 0.6789 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.6546, allocations: 9.963 MB / 0.6886 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.655, allocations: 7.938 kB / 0.6886 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.6554, allocations: 108.2 kB / 0.6887 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.6605, allocations: 2.099 MB / 0.6908 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008764/0.6693, allocations: 2.587 MB / 0.6933 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.6711, allocations: 2.015 MB / 0.6953 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/0.6716, allocations: 0.5043 MB / 0.6958 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.6722, allocations: 0.602 MB / 0.6964 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.675, allocations: 1.485 MB / 0.6978 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.6752, allocations: 101.9 kB / 0.6979 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.6867, allocations: 5.965 MB / 0.7037 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006357/0.6874, allocations: 0.561 MB / 0.7043 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008737/0.6882, allocations: 0.6329 MB / 0.7049 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.6983, allocations: 4.383 MB / 0.7092 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6983, allocations: 0 / 0.7092 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6983, allocations: 3.062 kB / 0.7092 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.6984, allocations: 3.938 kB / 0.7092 GB, free: 9.434 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.00547/0.7038, allocations: 1.871 MB / 0.711 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.7039, allocations: 15.39 kB / 0.711 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.083e-05/0.7039, allocations: 24.78 kB / 0.7111 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.7041, allocations: 156.1 kB / 0.7112 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.7067, allocations: 277.9 kB / 0.7115 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.7076, allocations: 0.6111 MB / 0.7121 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.7077, allocations: 71.62 kB / 0.7121 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.7078, allocations: 96.03 kB / 0.7122 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.711, allocations: 1.661 MB / 0.7138 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.711, allocations: 0 / 0.7138 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.7111, allocations: 45.8 kB / 0.7139 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.7112, allocations: 22.28 kB / 0.7139 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.7143, allocations: 1.68 MB / 0.7156 GB, free: 6.781 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.00695/0.7212, allocations: 5.628 MB / 0.721 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/0.725, allocations: 1.908 MB / 0.7229 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.7263, allocations: 0.8659 MB / 0.7238 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04704/0.7734, allocations: 20.14 MB / 0.7434 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.7734, allocations: 52.56 kB / 0.7435 GB, free: 11.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 3.135e-06/0.7734, allocations: 0 / 0.7435 GB, free: 11.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.07181/0.8453, allocations: 14.61 MB / 0.7577 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8454, allocations: 73.39 kB / 0.7578 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.8461, allocations: 445.9 kB / 0.7582 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.8463, allocations: 49.7 kB / 0.7583 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.8466, allocations: 274.4 kB / 0.7585 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000903/0.8475, allocations: 0.6378 MB / 0.7592 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/0.8481, allocations: 291.5 kB / 0.7594 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.8483, allocations: 345.9 kB / 0.7598 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.8497, allocations: 0.7416 MB / 0.7605 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.8513, allocations: 0.9626 MB / 0.7614 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/0.8546, allocations: 1.874 MB / 0.7633 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.8546, allocations: 4 kB / 0.7633 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005232/0.8598, allocations: 2.688 MB / 0.7659 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8599, allocations: 8 kB / 0.7659 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.8599, allocations: 13.92 kB / 0.7659 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.8709, allocations: 2.234 MB / 0.7681 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.8717, allocations: 163.8 kB / 0.7683 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/0.8781, allocations: 3.537 MB / 0.7717 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.8792, allocations: 150.9 kB / 0.7719 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.8793, allocations: 71.95 kB / 0.7719 GB, free: 13.97 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.0005894/0.8799, allocations: 329.5 kB / 0.7722 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.8802, allocations: 103.4 kB / 0.7723 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.8933, allocations: 8.972 MB / 0.7811 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/0.8934, allocations: 111.8 kB / 0.7812 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8934, allocations: 0 / 0.7812 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.8935, allocations: 15.95 kB / 0.7812 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.9099, allocations: 10.39 MB / 0.7914 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.9099, allocations: 4.031 kB / 0.7914 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/0.9106, allocations: 111.9 kB / 0.7915 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/0.925, allocations: 4.841 MB / 0.7962 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004922/0.9255, allocations: 55.97 kB / 0.7963 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/0.9403, allocations: 7.878 MB / 0.804 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.9403, allocations: 3.938 kB / 0.804 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.9528, allocations: 7.165 MB / 0.811 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.954, allocations: 0.6111 MB / 0.8115 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.9543, allocations: 63.77 kB / 0.8116 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.9554, allocations: 75.94 kB / 0.8117 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.9557, allocations: 129.8 kB / 0.8118 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.9559, allocations: 79.91 kB / 0.8119 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006013/0.9565, allocations: 410.8 kB / 0.8123 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.9565, allocations: 4 kB / 0.8123 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00399/0.9605, allocations: 1.205 MB / 0.8135 GB, free: 3.051 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.01586/0.9764, allocations: 7.175 MB / 0.8205 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008895/0.9853, allocations: 3.34 MB / 0.8237 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9853, allocations: 0 / 0.8237 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006011/0.9913, allocations: 2.338 MB / 0.826 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/0.9959, allocations: 0.7471 MB / 0.8267 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/1.025, allocations: 15.3 MB / 0.8417 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.027, allocations: 1.587 MB / 0.8432 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009216/1.028, allocations: 385.6 kB / 0.8436 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008881/1.029, allocations: 0.7141 MB / 0.8443 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.029, allocations: 0 / 0.8443 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3921/1.421, allocations: 92.66 MB / 0.9348 GB, free: 313.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/20.84, allocations: 19.69 kB / 0.9348 GB, free: 313.1 MB / 0.7012 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: 30.4468964029802] Failed to read output from testmodel.py, exit status != 0: 21.04575524001848 21.060934035 20.359187293 Calling exit ...