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.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00244/0.00244, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.525/1.525, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.3357/0.3357, allocations: 49.61 MB / 336.4 MB, free: 3.875 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: "" <> 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.002338/0.002338, allocations: 71.91 kB / 476.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1598, allocations: 62.43 MB / 0.5262 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5143/0.6741, allocations: 139.3 MB / 0.6622 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.6889, allocations: 8.855 MB / 0.6709 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.6893, allocations: 7.938 kB / 0.6709 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.6899, allocations: 103.2 kB / 0.671 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006798/0.6967, allocations: 2.088 MB / 0.673 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.7039, allocations: 2.566 MB / 0.6755 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.7065, allocations: 2.016 MB / 0.6775 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.7076, allocations: 0.5001 MB / 0.678 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.7089, allocations: 0.6082 MB / 0.6786 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.7128, allocations: 1.472 MB / 0.68 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003629/0.7132, allocations: 100 kB / 0.6801 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.7256, allocations: 5.705 MB / 0.6857 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008244/0.7264, allocations: 0.5611 MB / 0.6862 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.7276, allocations: 0.5606 MB / 0.6868 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.7407, allocations: 4.384 MB / 0.691 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.7407, allocations: 0 / 0.691 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.981e-06/0.7407, allocations: 3.984 kB / 0.691 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.687e-05/0.7407, allocations: 0 / 0.691 GB, free: 12.03 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.006827/0.7476, allocations: 1.793 MB / 0.6928 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.7476, allocations: 12.03 kB / 0.6928 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003445/0.748, allocations: 152.2 kB / 0.693 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.7506, allocations: 284.1 kB / 0.6932 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.7521, allocations: 0.5521 MB / 0.6938 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.7522, allocations: 70.38 kB / 0.6938 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.7524, allocations: 96.31 kB / 0.6939 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/0.7561, allocations: 1.663 MB / 0.6955 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7562, allocations: 0 / 0.6955 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.7563, allocations: 40 kB / 0.6956 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.7563, allocations: 24 kB / 0.6956 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.76, allocations: 1.67 MB / 0.6972 GB, free: 5.566 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.00799/0.768, allocations: 4.323 MB / 0.7015 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.7723, allocations: 1.907 MB / 0.7033 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.7739, allocations: 0.8732 MB / 0.7042 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0422/0.8161, allocations: 11.3 MB / 0.7152 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.8162, allocations: 48.56 kB / 0.7153 GB, free: 2.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 3.677e-06/0.8162, allocations: 4 kB / 0.7153 GB, free: 2.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06863/0.8848, allocations: 14.54 MB / 0.7295 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.8849, allocations: 73.39 kB / 0.7295 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.8855, allocations: 449.8 kB / 0.73 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.8856, allocations: 53.7 kB / 0.73 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.8859, allocations: 274.4 kB / 0.7303 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.8867, allocations: 0.639 MB / 0.7309 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.8871, allocations: 299.5 kB / 0.7312 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8873, allocations: 337.9 kB / 0.7315 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.8887, allocations: 0.7378 MB / 0.7322 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.8903, allocations: 0.9509 MB / 0.7332 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.8935, allocations: 1.878 MB / 0.735 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.8936, allocations: 4.875 kB / 0.735 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005279/0.8988, allocations: 2.691 MB / 0.7376 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.8989, allocations: 8 kB / 0.7376 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.8989, allocations: 7.984 kB / 0.7376 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.9095, allocations: 2.232 MB / 0.7398 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.9103, allocations: 163.8 kB / 0.74 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/0.9169, allocations: 3.545 MB / 0.7434 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.918, allocations: 150.8 kB / 0.7436 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.9182, allocations: 75.94 kB / 0.7437 GB, free: 5.68 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.00068/0.9188, allocations: 325.5 kB / 0.744 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.9191, allocations: 107.4 kB / 0.7441 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.9331, allocations: 9.289 MB / 0.7531 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/0.9332, allocations: 111.8 kB / 0.7532 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.9332, allocations: 0 / 0.7532 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/0.9333, allocations: 19.89 kB / 0.7533 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.9478, allocations: 10.51 MB / 0.7635 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.9478, allocations: 3.938 kB / 0.7635 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.9484, allocations: 119.8 kB / 0.7637 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2941/1.242, allocations: 4.904 MB / 0.7684 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006291/1.243, allocations: 54.7 kB / 0.7685 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.257, allocations: 8.168 MB / 0.7765 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.257, allocations: 1.094 kB / 0.7765 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.269, allocations: 7.437 MB / 0.7837 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.271, allocations: 0.5421 MB / 0.7843 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/1.271, allocations: 57.62 kB / 0.7843 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/1.272, allocations: 76.95 kB / 0.7844 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/1.272, allocations: 141.9 kB / 0.7845 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.273, allocations: 71.34 kB / 0.7846 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005961/1.273, allocations: 413.5 kB / 0.785 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 1.688 kB / 0.785 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00518/1.278, allocations: 1.197 MB / 0.7862 GB, free: 200.4 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.01386/1.292, allocations: 7.352 MB / 0.7933 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006709/1.299, allocations: 3.403 MB / 0.7967 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.299, allocations: 0 / 0.7967 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004182/1.303, allocations: 2.405 MB / 0.799 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/1.307, allocations: 0.751 MB / 0.7997 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.327, allocations: 15.42 MB / 0.8148 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/1.328, allocations: 1.001 MB / 0.8158 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008776/1.329, allocations: 391.8 kB / 0.8162 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/1.33, allocations: 0.718 MB / 0.8169 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/1.33, allocations: 1.094 kB / 0.8169 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.46, allocations: 88.04 MB / 0.9028 GB, free: 89.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/19.78, allocations: 8.062 kB / 0.9028 GB, free: 89.27 MB / 0.5919 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 & /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: 23.394529939163476] Failed to read output from testmodel.py, exit status != 0: 19.952065134886652 19.964649662 19.221077146 Calling exit ...