Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009828/0.0009828, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00328/0.00328, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9016/0.9016, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09257/0.09257, allocations: 19.74 MB / 281.2 MB, free: 9.461 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 417.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.701e-05, allocations: 6.531 kB / 417.8 MB, free: 7.363 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311: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 4.0.0-dev/FluidPh.mo:311:5-311: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.06939/0.06942, allocations: 99.76 MB / 0.5054 GB, free: 14.78 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.07211, allocations: 0.9152 MB / 0.5063 GB, free: 13.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.07244, allocations: 31.62 kB / 0.5064 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.0735, allocations: 329.1 kB / 0.5067 GB, free: 13.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.07403, allocations: 460.5 kB / 0.5071 GB, free: 13.05 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01257/0.0866, allocations: 4.53 MB / 0.5115 GB, free: 8.504 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.08796, allocations: 1.377 MB / 0.5129 GB, free: 7.121 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.08842, allocations: 375.3 kB / 0.5132 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.08927, allocations: 0.6388 MB / 0.5139 GB, free: 6.102 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.08966, allocations: 358.8 kB / 0.5142 GB, free: 5.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.08971, allocations: 36 kB / 0.5143 GB, free: 5.715 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007417/0.09713, allocations: 4.17 MB / 0.5183 GB, free: 1.535 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.09725, allocations: 115.3 kB / 0.5184 GB, free: 1.422 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.09743, allocations: 231.4 kB / 0.5187 GB, free: 1.195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.1013, allocations: 3.636 MB / 0.5222 GB, free: 13.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1013, allocations: 0 / 0.5222 GB, free: 13.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1013, allocations: 0 / 0.5222 GB, free: 13.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1013, allocations: 0 / 0.5222 GB, free: 13.55 MB / 442.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.001064/0.1024, allocations: 1.242 MB / 0.5234 GB, free: 12.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1024, allocations: 8.031 kB / 0.5234 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.767e-05/0.1025, allocations: 92.38 kB / 0.5235 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.1029, allocations: 429.2 kB / 0.5239 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.103, allocations: 37.38 kB / 0.524 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.103, allocations: 48.38 kB / 0.524 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.1035, allocations: 0.6045 MB / 0.5246 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1035, allocations: 11.94 kB / 0.5246 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1035, allocations: 24 kB / 0.5246 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1036, allocations: 19.98 kB / 0.5246 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1038, allocations: 251.3 kB / 0.5249 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.1062, allocations: 4.395 MB / 0.5292 GB, free: 6.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.1062, allocations: 169.1 kB / 0.5293 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.1063, allocations: 88.08 kB / 0.5294 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1063, allocations: 83.22 kB / 0.5295 GB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1063, allocations: 105.8 kB / 0.5296 GB, free: 5.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1063, allocations: 0 / 0.5296 GB, free: 5.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 8.86e-05/0.1064, allocations: 85.33 kB / 0.5297 GB, free: 5.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1064, allocations: 126.7 kB / 0.5298 GB, free: 5.359 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.1068, allocations: 0.5079 MB / 0.5303 GB, free: 4.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.1068, allocations: 25.7 kB / 0.5303 GB, free: 4.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.107, allocations: 419.4 kB / 0.5307 GB, free: 4.395 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.107, allocations: 0 / 0.5307 GB, free: 4.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.107, allocations: 33.7 kB / 0.5308 GB, free: 4.355 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.1071, allocations: 362.8 kB / 0.5311 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.1072, allocations: 23.92 kB / 0.5311 GB, free: 3.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.1072, allocations: 94.23 kB / 0.5312 GB, free: 3.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.1073, allocations: 106.1 kB / 0.5313 GB, free: 3.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1073, allocations: 4 kB / 0.5313 GB, free: 3.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002081/0.1075, allocations: 177 kB / 0.5315 GB, free: 3.516 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1075, allocations: 11.34 kB / 0.5315 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1075, allocations: 8 kB / 0.5315 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1075, allocations: 0 / 0.5315 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1076, allocations: 27.98 kB / 0.5315 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1076, allocations: 11.92 kB / 0.5315 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.1077, allocations: 15.89 kB / 0.5316 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1077, allocations: 4 kB / 0.5316 GB, free: 3.441 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.0001324/0.1079, allocations: 233.1 kB / 0.5318 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.1079, allocations: 176.5 kB / 0.532 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.108, allocations: 148.6 kB / 0.5321 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.108, allocations: 180.2 kB / 0.5323 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.727e-05/0.1081, allocations: 188.3 kB / 0.5325 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/0.1081, allocations: 180.3 kB / 0.5326 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1084, allocations: 0.5553 MB / 0.5332 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-05/0.1084, allocations: 109 kB / 0.5333 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.1084, allocations: 101 kB / 0.5334 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/0.1085, allocations: 184.1 kB / 0.5335 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.1085, allocations: 184.2 kB / 0.5337 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.855e-05/0.1085, allocations: 180.2 kB / 0.5339 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-05/0.1086, allocations: 176.3 kB / 0.5341 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1087, allocations: 363.4 kB / 0.5344 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.109, allocations: 152.6 kB / 0.5345 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.1091, allocations: 184.1 kB / 0.5347 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.1092, allocations: 105 kB / 0.5348 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1092, allocations: 184.2 kB / 0.535 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1092, allocations: 105 kB / 0.5351 GB, free: 15.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1095, allocations: 351.1 kB / 0.5354 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1095, allocations: 4 kB / 0.5354 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008788/0.1104, allocations: 0.7867 MB / 0.5362 GB, free: 14.5 MB / 458.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.001548/0.1119, allocations: 1.094 MB / 0.5373 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.112, allocations: 39.86 kB / 0.5373 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.112, allocations: 0 / 0.5373 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.112, allocations: 0 / 0.5373 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.1128, allocations: 0.6864 MB / 0.538 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.1136, allocations: 0.9572 MB / 0.5389 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.1138, allocations: 284.5 kB / 0.5392 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.1138, allocations: 44.47 kB / 0.5392 GB, free: 11.32 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1138, allocations: 4 kB / 0.5392 GB, free: 11.32 MB / 458.7 MB Notification: Performance of Templates: time 0.01436/0.1282, allocations: 17.94 MB / 0.5568 GB, free: 9.414 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5970505848526955] Failed to read output from testmodel.py, exit status != 0: 0.13368873856961727 0.141909386 0.038642426 Calling exit ...