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.001263/0.001263, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.00173/0.00173, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.341/1.341, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.282/0.282, allocations: 49.57 MB / 337.1 MB, free: 4.102 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.002106/0.002106, allocations: 75.89 kB / 477.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1093, allocations: 62.42 MB / 0.5269 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3773/0.4866, allocations: 161.6 MB / 0.6847 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.4995, allocations: 10.01 MB / 0.6944 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.4998, allocations: 11.88 kB / 0.6945 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.5002, allocations: 103.2 kB / 0.6946 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.5052, allocations: 2.112 MB / 0.6966 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007013/0.5122, allocations: 2.603 MB / 0.6992 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.5145, allocations: 2.012 MB / 0.7011 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/0.5151, allocations: 0.5078 MB / 0.7016 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.5159, allocations: 0.6004 MB / 0.7022 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.5187, allocations: 1.488 MB / 0.7037 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.5189, allocations: 100 kB / 0.7038 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.5296, allocations: 5.963 MB / 0.7096 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006386/0.5302, allocations: 0.569 MB / 0.7101 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008461/0.5311, allocations: 0.6303 MB / 0.7107 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00864/0.5397, allocations: 4.384 MB / 0.715 GB, free: 4.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5397, allocations: 0 / 0.715 GB, free: 4.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5397, allocations: 0 / 0.715 GB, free: 4.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.5397, allocations: 3.938 kB / 0.715 GB, free: 4.938 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.00499/0.5447, allocations: 1.797 MB / 0.7168 GB, free: 3.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5448, allocations: 8.031 kB / 0.7168 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.191e-05/0.5448, allocations: 26.88 kB / 0.7168 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002208/0.545, allocations: 160.2 kB / 0.717 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.5474, allocations: 280.1 kB / 0.7172 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5486, allocations: 0.552 MB / 0.7178 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.5487, allocations: 77.75 kB / 0.7179 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.5489, allocations: 95.94 kB / 0.7179 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.5523, allocations: 1.659 MB / 0.7196 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.5523, allocations: 0 / 0.7196 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5524, allocations: 44 kB / 0.7196 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.5525, allocations: 24 kB / 0.7196 GB, free: 112 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.5559, allocations: 1.69 MB / 0.7213 GB, free: 14.42 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.007239/0.5632, allocations: 5.516 MB / 0.7267 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.5669, allocations: 1.917 MB / 0.7285 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5683, allocations: 0.8693 MB / 0.7294 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03994/0.6082, allocations: 11.26 MB / 0.7404 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.6083, allocations: 52.56 kB / 0.7404 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=180): time 5.68e-06/0.6083, allocations: 3.984 kB / 0.7404 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=180): time 0.06772/0.676, allocations: 14.55 MB / 0.7546 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.6761, allocations: 73.34 kB / 0.7547 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.6767, allocations: 441.8 kB / 0.7551 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.6769, allocations: 57.7 kB / 0.7552 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.6771, allocations: 266.5 kB / 0.7554 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.6777, allocations: 0.6428 MB / 0.7561 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.6782, allocations: 295.5 kB / 0.7564 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6783, allocations: 337.9 kB / 0.7567 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.6797, allocations: 0.7455 MB / 0.7574 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.6812, allocations: 0.9509 MB / 0.7583 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.6842, allocations: 1.878 MB / 0.7602 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6842, allocations: 0 / 0.7602 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004899/0.6891, allocations: 2.695 MB / 0.7628 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6891, allocations: 8 kB / 0.7628 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.6891, allocations: 7.938 kB / 0.7628 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.6997, allocations: 2.232 MB / 0.765 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.7005, allocations: 163.8 kB / 0.7652 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1987/0.8992, allocations: 3.537 MB / 0.7686 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.9001, allocations: 141 kB / 0.7687 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.9003, allocations: 69.27 kB / 0.7688 GB, free: 207 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.0004603/0.9007, allocations: 328.2 kB / 0.7691 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.901, allocations: 104 kB / 0.7692 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.9126, allocations: 9.296 MB / 0.7783 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.441e-05/0.9127, allocations: 115.3 kB / 0.7784 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9127, allocations: 0 / 0.7784 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.9127, allocations: 12.98 kB / 0.7784 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.9252, allocations: 10.73 MB / 0.7889 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.9252, allocations: 4.609 kB / 0.7889 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.9257, allocations: 119.7 kB / 0.789 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/0.9374, allocations: 4.947 MB / 0.7939 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/0.9377, allocations: 54.11 kB / 0.7939 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007982/0.9457, allocations: 8.169 MB / 0.8019 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9457, allocations: 7.531 kB / 0.8019 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.9526, allocations: 7.43 MB / 0.8091 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/0.9535, allocations: 0.5464 MB / 0.8097 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.9537, allocations: 55.83 kB / 0.8097 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.9544, allocations: 79.89 kB / 0.8098 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.9546, allocations: 145.4 kB / 0.8099 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9547, allocations: 69.86 kB / 0.81 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004023/0.9551, allocations: 410.8 kB / 0.8104 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.9551, allocations: 0 / 0.8104 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002635/0.9578, allocations: 1.201 MB / 0.8116 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.00919/0.967, allocations: 7.351 MB / 0.8188 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005076/0.972, allocations: 3.404 MB / 0.8221 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.972, allocations: 0 / 0.8221 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003476/0.9755, allocations: 2.394 MB / 0.8244 GB, free: 172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.9786, allocations: 0.7523 MB / 0.8252 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.9962, allocations: 15.43 MB / 0.8402 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.9969, allocations: 1.591 MB / 0.8418 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007262/0.9976, allocations: 392.7 kB / 0.8421 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.9981, allocations: 0.7101 MB / 0.8428 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/0.9981, allocations: 0 / 0.8428 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.11, allocations: 96.99 MB / 0.9376 GB, free: 55.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19/20.11, allocations: 12 kB / 0.9376 GB, free: 55.64 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: 28.949827186996117] Failed to read output from testmodel.py, exit status != 0: 20.332476738025434 20.341537339 19.799576423 Calling exit ...