Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.0008732/0.0008732, 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.0008482/0.0008482, 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.8304/0.8304, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1788/0.1788, allocations: 36.34 MB / 274.3 MB, free: 10.91 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.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.224e-05, allocations: 2.281 kB / 414.3 MB, free: 6.082 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.2268/0.2268, allocations: 99.57 MB / 0.5019 GB, free: 9.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.2293, allocations: 0.9231 MB / 0.5028 GB, free: 8.945 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.2296, allocations: 39.62 kB / 0.5028 GB, free: 8.906 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.2303, allocations: 317.3 kB / 0.5031 GB, free: 8.594 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005854/0.2309, allocations: 460.5 kB / 0.5035 GB, free: 8.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009356/0.2403, allocations: 4.526 MB / 0.508 GB, free: 3.594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2414, allocations: 1.373 MB / 0.5093 GB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.2419, allocations: 375.4 kB / 0.5097 GB, free: 1.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.2423, allocations: 0.635 MB / 0.5103 GB, free: 1.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.2427, allocations: 350.8 kB / 0.5106 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.2427, allocations: 32 kB / 0.5107 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.2481, allocations: 4.166 MB / 0.5147 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.2482, allocations: 111.3 kB / 0.5148 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.2484, allocations: 235.4 kB / 0.5151 GB, free: 12.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.2518, allocations: 3.624 MB / 0.5186 GB, free: 8.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2518, allocations: 8 kB / 0.5186 GB, free: 8.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2518, allocations: 0 / 0.5186 GB, free: 8.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2518, allocations: 3.938 kB / 0.5186 GB, free: 8.664 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001207/0.253, allocations: 1.238 MB / 0.5198 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2531, allocations: 8.031 kB / 0.5198 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.2532, allocations: 94.7 kB / 0.5199 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.2532, allocations: 96.33 kB / 0.52 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.2537, allocations: 417.3 kB / 0.5204 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2537, allocations: 33.38 kB / 0.5204 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2537, allocations: 52.56 kB / 0.5205 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2542, allocations: 0.6082 MB / 0.5211 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2542, allocations: 7.938 kB / 0.5211 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2543, allocations: 24 kB / 0.5211 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.2543, allocations: 16 kB / 0.5211 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.2545, allocations: 251.4 kB / 0.5214 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.2569, allocations: 4.552 MB / 0.5258 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.257, allocations: 177.1 kB / 0.526 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.257, allocations: 80.14 kB / 0.5261 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.257, allocations: 75.28 kB / 0.5261 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.257, allocations: 113.8 kB / 0.5262 GB, free: 452 kB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/0.257, allocations: 4.203 kB / 0.5262 GB, free: 448 kB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.2571, allocations: 117.1 kB / 0.5263 GB, free: 324 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2572, allocations: 130.6 kB / 0.5265 GB, free: 180 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.2578, allocations: 0.7764 MB / 0.5272 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.2578, allocations: 25.7 kB / 0.5273 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.258, allocations: 391.5 kB / 0.5276 GB, free: 14.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.258, allocations: 8 kB / 0.5276 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.258, allocations: 37.66 kB / 0.5277 GB, free: 14.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.2581, allocations: 306 kB / 0.528 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.2582, allocations: 15.98 kB / 0.528 GB, free: 14.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.2582, allocations: 90.23 kB / 0.5281 GB, free: 14.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.605e-05/0.2583, allocations: 110.2 kB / 0.5282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2583, allocations: 4 kB / 0.5282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000233/0.2585, allocations: 209.1 kB / 0.5284 GB, free: 14.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2585, allocations: 10.5 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2586, allocations: 4 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2586, allocations: 4 kB / 0.5284 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.2586, allocations: 27.92 kB / 0.5284 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2586, allocations: 0 / 0.5284 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2588, allocations: 51.52 kB / 0.5285 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2588, allocations: 12 kB / 0.5285 GB, free: 13.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.2589, allocations: 236.9 kB / 0.5287 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.259, allocations: 196.5 kB / 0.5289 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.2591, allocations: 171.6 kB / 0.5291 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.2591, allocations: 180.2 kB / 0.5292 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.582e-05/0.2592, allocations: 180.2 kB / 0.5294 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-05/0.2592, allocations: 180.3 kB / 0.5296 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.2597, allocations: 0.5979 MB / 0.5302 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.2597, allocations: 112.9 kB / 0.5303 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.2597, allocations: 105 kB / 0.5304 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.13e-05/0.2597, allocations: 184.2 kB / 0.5305 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.2598, allocations: 176.5 kB / 0.5307 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.924e-05/0.2598, allocations: 180.2 kB / 0.5309 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.024e-05/0.2599, allocations: 192.2 kB / 0.5311 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.26, allocations: 391.2 kB / 0.5314 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.2601, allocations: 176.4 kB / 0.5316 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.2602, allocations: 184.2 kB / 0.5318 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2603, allocations: 101 kB / 0.5319 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2603, allocations: 180.3 kB / 0.532 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.2603, allocations: 104.9 kB / 0.5321 GB, free: 10.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004086/0.2608, allocations: 0.531 MB / 0.5327 GB, free: 9.488 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2608, allocations: 0 / 0.5327 GB, free: 9.488 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009988/0.2618, allocations: 0.752 MB / 0.5334 GB, free: 8.734 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.2636, allocations: 1.81 MB / 0.5352 GB, free: 6.898 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.2637, allocations: 51.8 kB / 0.5352 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2637, allocations: 0 / 0.5352 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.2637, allocations: 0 / 0.5352 GB, free: 6.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.265, allocations: 0.8933 MB / 0.5361 GB, free: 5.949 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.2688, allocations: 4.757 MB / 0.5407 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.269, allocations: 281.1 kB / 0.541 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.2692, allocations: 121.6 kB / 0.5411 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2694, allocations: 260.3 kB / 0.5414 GB, free: 316 kB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2694, allocations: 3.938 kB / 0.5414 GB, free: 312 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.3151, allocations: 36.31 MB / 0.5768 GB, free: 11.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.664, allocations: 11.94 kB / 0.5768 GB, free: 11.88 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestSources_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.514047531411052] Failed to read output from testmodel.py, exit status != 0: 7.7593905460089445 7.770109767 7.516578605 Calling exit ...