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.001474/0.001474, 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.001477/0.001477, allocations: 213.9 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.533/1.533, 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.3115/0.3115, allocations: 49.61 MB / 336.4 MB, free: 3.871 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.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: 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.002188/0.002188, allocations: 71.89 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1451, allocations: 62.44 MB / 0.5262 GB, free: 14.12 MB / 414.1 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.4477/0.5928, allocations: 99.98 MB / 0.6238 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.5964, allocations: 0.9347 MB / 0.6247 GB, free: 236 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.597, allocations: 31.62 kB / 0.6247 GB, free: 204 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5981, allocations: 309.5 kB / 0.625 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.599, allocations: 445 kB / 0.6255 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.6151, allocations: 4.443 MB / 0.6298 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.6172, allocations: 1.323 MB / 0.6311 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.6179, allocations: 379.3 kB / 0.6314 GB, free: 9.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.6186, allocations: 466.2 kB / 0.6319 GB, free: 8.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.6192, allocations: 417.8 kB / 0.6323 GB, free: 8.418 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.6193, allocations: 36 kB / 0.6323 GB, free: 8.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.6303, allocations: 4.151 MB / 0.6364 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.6305, allocations: 111.4 kB / 0.6365 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.631, allocations: 294.4 kB / 0.6368 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006587/0.6376, allocations: 3.058 MB / 0.6398 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6376, allocations: 0 / 0.6398 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6376, allocations: 0 / 0.6398 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.6376, allocations: 0 / 0.6398 GB, free: 0.7617 MB / 478.1 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.002446/0.64, allocations: 1.246 MB / 0.641 GB, free: 15.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.6401, allocations: 16.03 kB / 0.641 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.6402, allocations: 90.7 kB / 0.6411 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.6404, allocations: 92.38 kB / 0.6412 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.6411, allocations: 422.2 kB / 0.6416 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.6412, allocations: 44.94 kB / 0.6416 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.6412, allocations: 48 kB / 0.6417 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.6422, allocations: 0.6043 MB / 0.6422 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.6422, allocations: 7.938 kB / 0.6422 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.6422, allocations: 24 kB / 0.6423 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6422, allocations: 12 kB / 0.6423 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.6427, allocations: 251.4 kB / 0.6425 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.6471, allocations: 4.576 MB / 0.647 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6472, allocations: 177.1 kB / 0.6472 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.6473, allocations: 88.06 kB / 0.6472 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.6473, allocations: 79.28 kB / 0.6473 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.6474, allocations: 109.8 kB / 0.6474 GB, free: 8.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.6474, allocations: 0 / 0.6474 GB, free: 8.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002348/0.6476, allocations: 109.2 kB / 0.6475 GB, free: 8.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.6477, allocations: 126.7 kB / 0.6476 GB, free: 8.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.6487, allocations: 0.7724 MB / 0.6484 GB, free: 7.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.6487, allocations: 33.62 kB / 0.6484 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.649, allocations: 391.4 kB / 0.6488 GB, free: 7.023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/0.649, allocations: 8 kB / 0.6488 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.6491, allocations: 33.7 kB / 0.6488 GB, free: 6.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6492, allocations: 321.8 kB / 0.6492 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.6492, allocations: 19.98 kB / 0.6492 GB, free: 6.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.6493, allocations: 86.3 kB / 0.6493 GB, free: 6.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6495, allocations: 110.1 kB / 0.6494 GB, free: 6.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6495, allocations: 0 / 0.6494 GB, free: 6.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003413/0.6498, allocations: 209.1 kB / 0.6496 GB, free: 6.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6498, allocations: 4 kB / 0.6496 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6498, allocations: 4 kB / 0.6496 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6499, allocations: 4 kB / 0.6496 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.65, allocations: 27.98 kB / 0.6496 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.65, allocations: 7.938 kB / 0.6496 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.6502, allocations: 47.52 kB / 0.6497 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.6502, allocations: 11.98 kB / 0.6497 GB, free: 6.055 MB / 494.1 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.0002437/0.6504, allocations: 237 kB / 0.6499 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6506, allocations: 188.6 kB / 0.6501 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.6507, allocations: 175.6 kB / 0.6502 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.624e-05/0.6508, allocations: 180.3 kB / 0.6504 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.6509, allocations: 188.2 kB / 0.6506 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-05/0.651, allocations: 176.3 kB / 0.6508 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.6516, allocations: 0.5939 MB / 0.6513 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.783e-05/0.6516, allocations: 101 kB / 0.6514 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.6517, allocations: 105 kB / 0.6515 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.6518, allocations: 184.2 kB / 0.6517 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.6519, allocations: 176.3 kB / 0.6519 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.336e-05/0.652, allocations: 184.2 kB / 0.6521 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.6521, allocations: 184.3 kB / 0.6522 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.6524, allocations: 391.2 kB / 0.6526 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.6526, allocations: 172.5 kB / 0.6528 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6528, allocations: 180.2 kB / 0.6529 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.653, allocations: 109.3 kB / 0.653 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.6531, allocations: 188.2 kB / 0.6532 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.6532, allocations: 105 kB / 0.6533 GB, free: 2.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006871/0.6539, allocations: 0.531 MB / 0.6538 GB, free: 1.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6539, allocations: 0 / 0.6538 GB, free: 1.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002277/0.6561, allocations: 0.7559 MB / 0.6546 GB, free: 0.8008 MB / 494.1 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.002943/0.6591, allocations: 1.735 MB / 0.6563 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.6593, allocations: 39.92 kB / 0.6563 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6593, allocations: 0 / 0.6563 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-06/0.6593, allocations: 3.938 kB / 0.6563 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.6617, allocations: 0.8855 MB / 0.6572 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.668, allocations: 4.76 MB / 0.6618 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.6683, allocations: 281.1 kB / 0.6621 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004146/0.6687, allocations: 121.6 kB / 0.6622 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.669, allocations: 259.3 kB / 0.6625 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.669, allocations: 4 kB / 0.6625 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09069/0.7597, allocations: 36.15 MB / 0.6978 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.53, allocations: 11.8 kB / 0.6978 GB, free: 4.18 MB / 0.5294 GB " [Timeout remaining time 646] (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: 16.62132788915187] Failed to read output from testmodel.py, exit status != 0: 13.662746419198811 13.687310299 13.045944365 Calling exit ...