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.001638/0.001638, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002145/0.002145, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.622/1.622, allocations: 207.7 MB / 235.4 MB, free: 9.793 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.2977/0.2977, allocations: 49.6 MB / 337.2 MB, free: 3.992 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="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.002241/0.002241, allocations: 79.89 kB / 477.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 62.42 MB / 0.5269 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4399/0.5704, allocations: 139.2 MB / 0.6629 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.5837, allocations: 8.839 MB / 0.6715 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.584, allocations: 7.938 kB / 0.6715 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.5845, allocations: 103.2 kB / 0.6716 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.5903, allocations: 2.097 MB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.5983, allocations: 2.555 MB / 0.6762 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.6008, allocations: 2.019 MB / 0.6781 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.6019, allocations: 0.5117 MB / 0.6786 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.6033, allocations: 0.5965 MB / 0.6792 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.6074, allocations: 1.492 MB / 0.6807 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/0.6078, allocations: 104 kB / 0.6808 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.6211, allocations: 5.922 MB / 0.6866 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.6221, allocations: 0.5612 MB / 0.6871 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.6235, allocations: 0.5605 MB / 0.6877 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.635, allocations: 4.384 MB / 0.6919 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.635, allocations: 4 kB / 0.6919 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.635, allocations: 0 / 0.6919 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.519e-05/0.635, allocations: 0 / 0.6919 GB, free: 11.96 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.005612/0.6406, allocations: 1.797 MB / 0.6937 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6407, allocations: 8.031 kB / 0.6937 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.976e-05/0.6407, allocations: 26.19 kB / 0.6937 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/0.641, allocations: 156.2 kB / 0.6939 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.6436, allocations: 284.1 kB / 0.6941 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6447, allocations: 0.5482 MB / 0.6947 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.6448, allocations: 74.5 kB / 0.6948 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.645, allocations: 91.94 kB / 0.6948 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.6487, allocations: 1.659 MB / 0.6965 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.6487, allocations: 4 kB / 0.6965 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.6489, allocations: 40 kB / 0.6965 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6489, allocations: 24 kB / 0.6965 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.6526, allocations: 1.686 MB / 0.6982 GB, free: 5.453 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.007135/0.6598, allocations: 4.315 MB / 0.7024 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.6638, allocations: 1.915 MB / 0.7043 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.6653, allocations: 0.8693 MB / 0.7051 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04162/0.7069, allocations: 11.29 MB / 0.7161 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.7069, allocations: 52.56 kB / 0.7162 GB, free: 2.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 4.719e-06/0.7069, allocations: 0 / 0.7162 GB, free: 2.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06946/0.7764, allocations: 14.55 MB / 0.7304 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.7765, allocations: 73.41 kB / 0.7305 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.7771, allocations: 445.8 kB / 0.7309 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.7772, allocations: 53.7 kB / 0.7309 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.7774, allocations: 274.4 kB / 0.7312 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007248/0.7782, allocations: 0.635 MB / 0.7318 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005325/0.7787, allocations: 295.5 kB / 0.7321 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.7789, allocations: 334 kB / 0.7324 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.7803, allocations: 0.7417 MB / 0.7331 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.7819, allocations: 0.9625 MB / 0.7341 GB, free: 416 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.7853, allocations: 1.878 MB / 0.7359 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7853, allocations: 0 / 0.7359 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005303/0.7906, allocations: 2.695 MB / 0.7386 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.7907, allocations: 11.94 kB / 0.7386 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.7907, allocations: 10.88 kB / 0.7386 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.8017, allocations: 2.231 MB / 0.7408 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.8025, allocations: 159.8 kB / 0.7409 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.8091, allocations: 3.541 MB / 0.7444 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.8102, allocations: 150.9 kB / 0.7445 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.8104, allocations: 67.97 kB / 0.7446 GB, free: 5.578 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.0006374/0.811, allocations: 333.5 kB / 0.7449 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.8114, allocations: 104.8 kB / 0.745 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.8256, allocations: 9.282 MB / 0.7541 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/0.8257, allocations: 111.8 kB / 0.7542 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8257, allocations: 0 / 0.7542 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/0.8257, allocations: 11.95 kB / 0.7542 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.8404, allocations: 10.54 MB / 0.7645 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.8404, allocations: 0 / 0.7645 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.841, allocations: 111.9 kB / 0.7646 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2523/1.093, allocations: 4.919 MB / 0.7694 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/1.094, allocations: 55.69 kB / 0.7694 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.105, allocations: 8.165 MB / 0.7774 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.105, allocations: 5.25 kB / 0.7774 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.115, allocations: 7.434 MB / 0.7847 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/1.116, allocations: 0.5454 MB / 0.7852 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/1.117, allocations: 57.14 kB / 0.7853 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.118, allocations: 76.44 kB / 0.7853 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/1.118, allocations: 142.1 kB / 0.7855 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.118, allocations: 70.94 kB / 0.7855 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005281/1.119, allocations: 413 kB / 0.7859 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.119, allocations: 0 / 0.7859 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003316/1.122, allocations: 1.203 MB / 0.7871 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.01327/1.135, allocations: 7.347 MB / 0.7943 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006544/1.142, allocations: 3.403 MB / 0.7976 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.142, allocations: 0 / 0.7976 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/1.146, allocations: 2.396 MB / 0.7999 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.003636/1.15, allocations: 0.7529 MB / 0.8007 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.171, allocations: 15.43 MB / 0.8157 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/1.172, allocations: 1.005 MB / 0.8167 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007952/1.173, allocations: 382.8 kB / 0.8171 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/1.174, allocations: 0.7179 MB / 0.8178 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.174, allocations: 7.938 kB / 0.8178 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.284, allocations: 89.35 MB / 0.9051 GB, free: 87.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.03/22.32, allocations: 4.062 kB / 0.9051 GB, free: 87.88 MB / 0.5919 GB " [Timeout remaining time 637] (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: 25.983071313006803] Failed to read output from testmodel.py, exit status != 0: 22.549827692098916 22.560257874 21.922682926 Calling exit ...