Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.0007585/0.0007585, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007524/0.0007524, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8095/0.8095, allocations: 158.6 MB / 185.7 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.166/0.166, allocations: 36.35 MB / 274.3 MB, free: 10.98 MB / 266.7 MB " [Timeout remaining time 180] 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.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.118e-05, allocations: 10.22 kB / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1993/0.1994, allocations: 46.37 MB / 460.7 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.2112, allocations: 15.33 MB / 476 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.2116, allocations: 13.53 kB / 476.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.2123, allocations: 265.7 kB / 476.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.2174, allocations: 2.398 MB / 478.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007318/0.2247, allocations: 3.245 MB / 482 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.2259, allocations: 0.8829 MB / 482.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.2263, allocations: 248.3 kB / 483.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.2268, allocations: 471 kB / 483.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.2271, allocations: 349.5 kB / 483.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.2272, allocations: 30.34 kB / 483.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.2374, allocations: 7.147 MB / 491.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.2375, allocations: 103.5 kB / 491.2 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.2378, allocations: 167.6 kB / 491.3 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.2487, allocations: 5.738 MB / 497.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2487, allocations: 0 / 497.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2487, allocations: 4 kB / 497.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2487, allocations: 6.375 kB / 497.1 MB, free: 10.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002476/0.2512, allocations: 1.319 MB / 498.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2512, allocations: 12.03 kB / 498.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/0.2513, allocations: 70.72 kB / 498.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.2518, allocations: 156.5 kB / 498.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.2522, allocations: 299.8 kB / 498.9 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2522, allocations: 25.03 kB / 498.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.2522, allocations: 32.38 kB / 499 MB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.2528, allocations: 0.5594 MB / 499.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2529, allocations: 3.938 kB / 499.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.2529, allocations: 27.92 kB / 499.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2529, allocations: 8 kB / 499.6 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.2533, allocations: 365.7 kB / 499.9 MB, free: 7.789 MB / 394.7 MB 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.001372/0.2547, allocations: 1.727 MB / 0.4899 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.2551, allocations: 317.9 kB / 0.4902 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2552, allocations: 192.4 kB / 0.4904 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02865/0.2839, allocations: 16.91 MB / 0.5069 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005294/0.2844, allocations: 362 kB / 0.5072 GB, free: 4.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.396e-06/0.2844, allocations: 0 / 0.5072 GB, free: 4.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002537/0.2869, allocations: 1.709 MB / 0.5089 GB, free: 2.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.287, allocations: 144.5 kB / 0.5091 GB, free: 2.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.2873, allocations: 401.9 kB / 0.5094 GB, free: 1.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.2873, allocations: 33.7 kB / 0.5095 GB, free: 1.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2875, allocations: 244.5 kB / 0.5097 GB, free: 1.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.2875, allocations: 115 kB / 0.5098 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.2876, allocations: 81.97 kB / 0.5099 GB, free: 1.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2877, allocations: 366.7 kB / 0.5102 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2879, allocations: 200.7 kB / 0.5104 GB, free: 0.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2881, allocations: 305.2 kB / 0.5107 GB, free: 332 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2885, allocations: 478.2 kB / 0.5112 GB, free: 15.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2885, allocations: 4 kB / 0.5112 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009032/0.2894, allocations: 0.6936 MB / 0.5119 GB, free: 15.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.2894, allocations: 69.89 kB / 0.5119 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2894, allocations: 4 kB / 0.5119 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.2901, allocations: 159.9 kB / 0.5121 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2903, allocations: 63.84 kB / 0.5121 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006604/0.2909, allocations: 1.132 MB / 0.5132 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2911, allocations: 12 kB / 0.5133 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.2911, allocations: 19.94 kB / 0.5133 GB, free: 13.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.2913, allocations: 249.1 kB / 0.5135 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.2914, allocations: 51.67 kB / 0.5136 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.2927, allocations: 1.691 MB / 0.5152 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.2928, allocations: 23.91 kB / 0.5152 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2928, allocations: 3.938 kB / 0.5152 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2928, allocations: 0 / 0.5152 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.2933, allocations: 0.6772 MB / 0.5159 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.2933, allocations: 0 / 0.5159 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2934, allocations: 39.98 kB / 0.5159 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.2938, allocations: 254.5 kB / 0.5162 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2938, allocations: 16 kB / 0.5162 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006649/0.2945, allocations: 1.355 MB / 0.5175 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2945, allocations: 3.984 kB / 0.5175 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.2962, allocations: 1.875 MB / 0.5194 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2964, allocations: 111.5 kB / 0.5195 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.2964, allocations: 12 kB / 0.5195 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.2965, allocations: 15.98 kB / 0.5195 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.2966, allocations: 23.95 kB / 0.5195 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2966, allocations: 15.98 kB / 0.5195 GB, free: 6.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.2968, allocations: 279.1 kB / 0.5198 GB, free: 6.656 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2968, allocations: 0 / 0.5198 GB, free: 6.656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002601/0.2994, allocations: 1.115 MB / 0.5209 GB, free: 5.539 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005339/0.3047, allocations: 3.656 MB / 0.5245 GB, free: 1.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.3056, allocations: 0.8088 MB / 0.5252 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3056, allocations: 0 / 0.5252 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.306, allocations: 0.5725 MB / 0.5258 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.3069, allocations: 197.2 kB / 0.526 GB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.313, allocations: 5.555 MB / 0.5314 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.3132, allocations: 318 kB / 0.5317 GB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3134, allocations: 99.19 kB / 0.5318 GB, free: 9.938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3136, allocations: 220.4 kB / 0.532 GB, free: 9.723 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3136, allocations: 0 / 0.532 GB, free: 9.723 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07006/0.3836, allocations: 48.8 MB / 0.5797 GB, free: 8.766 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/9.555, allocations: 0 / 0.5797 GB, free: 8.766 MB / 490.7 MB " [Timeout remaining time 650] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.456541295163333] Failed to read output from testmodel.py, exit status != 0: 9.669663566164672 9.678419766 9.427358959 Calling exit ...