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.001592/0.001592, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002144/0.002144, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.678/1.678, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.277/0.277, allocations: 26.85 MB / 340.7 MB, free: 7.945 MB / 270.1 MB " [Timeout remaining time 179] 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.001867/0.001867, allocations: 63.89 kB / 477.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6293/0.6312, allocations: 60.48 MB / 0.5252 GB, free: 9.715 MB / 382.1 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.2521/0.8833, allocations: 100.2 MB / 0.623 GB, free: 428 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.887, allocations: 0.9387 MB / 0.624 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.8884, allocations: 31.62 kB / 0.624 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.8898, allocations: 317.4 kB / 0.6243 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.8916, allocations: 445 kB / 0.6247 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.9121, allocations: 4.473 MB / 0.6291 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01835/0.9304, allocations: 1.323 MB / 0.6304 GB, free: 8.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.9316, allocations: 375.3 kB / 0.6307 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.9328, allocations: 466.1 kB / 0.6312 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.9338, allocations: 421.8 kB / 0.6316 GB, free: 7.629 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.934, allocations: 36 kB / 0.6316 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/0.9457, allocations: 4.151 MB / 0.6357 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.946, allocations: 119.4 kB / 0.6358 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006307/0.9466, allocations: 286.5 kB / 0.6361 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.9567, allocations: 3.07 MB / 0.6391 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.9567, allocations: 0 / 0.6391 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9567, allocations: 0 / 0.6391 GB, free: 15.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-05/0.9567, allocations: 4 kB / 0.6391 GB, free: 15.96 MB / 494.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.003456/0.9602, allocations: 1.254 MB / 0.6403 GB, free: 14.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.9602, allocations: 8.031 kB / 0.6403 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.9605, allocations: 100.3 kB / 0.6404 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/0.9784, allocations: 426 kB / 0.6408 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.9784, allocations: 41.12 kB / 0.6408 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.9785, allocations: 44 kB / 0.6409 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.9797, allocations: 0.6042 MB / 0.6415 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.9797, allocations: 3.938 kB / 0.6415 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.9797, allocations: 24 kB / 0.6415 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.9798, allocations: 19.94 kB / 0.6415 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.9803, allocations: 263.3 kB / 0.6418 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005115/0.9855, allocations: 4.418 MB / 0.6461 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.9856, allocations: 169.1 kB / 0.6462 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.9856, allocations: 80.14 kB / 0.6463 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.9857, allocations: 79.28 kB / 0.6464 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.9858, allocations: 105.8 kB / 0.6465 GB, free: 7.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.435e-06/0.9858, allocations: 0 / 0.6465 GB, free: 7.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002416/0.986, allocations: 85.27 kB / 0.6466 GB, free: 7.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.9861, allocations: 130.7 kB / 0.6467 GB, free: 7.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.9868, allocations: 0.5079 MB / 0.6472 GB, free: 7.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.9869, allocations: 25.7 kB / 0.6472 GB, free: 7.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.9873, allocations: 419.5 kB / 0.6476 GB, free: 6.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.9873, allocations: 4 kB / 0.6476 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.9874, allocations: 33.66 kB / 0.6477 GB, free: 6.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.9876, allocations: 366.7 kB / 0.648 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.9876, allocations: 15.98 kB / 0.648 GB, free: 6.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.9878, allocations: 94.17 kB / 0.6481 GB, free: 6.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.9879, allocations: 110.1 kB / 0.6482 GB, free: 6.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9879, allocations: 0 / 0.6482 GB, free: 6.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003838/0.9883, allocations: 181.1 kB / 0.6484 GB, free: 5.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.9883, allocations: 8 kB / 0.6484 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9884, allocations: 0 / 0.6484 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.9884, allocations: 4 kB / 0.6484 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.9885, allocations: 27.92 kB / 0.6484 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9885, allocations: 4 kB / 0.6484 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.9887, allocations: 15.88 kB / 0.6484 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.9887, allocations: 8 kB / 0.6485 GB, free: 5.816 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.0002503/0.989, allocations: 245.4 kB / 0.6487 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.9891, allocations: 156.7 kB / 0.6488 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.9893, allocations: 148.8 kB / 0.649 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/0.9894, allocations: 180.2 kB / 0.6491 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001233/0.9895, allocations: 180.3 kB / 0.6493 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.392e-05/0.9896, allocations: 184.2 kB / 0.6495 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.9902, allocations: 0.5553 MB / 0.65 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.353e-05/0.9903, allocations: 104.9 kB / 0.6501 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.9903, allocations: 105 kB / 0.6502 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.67e-05/0.9904, allocations: 176.4 kB / 0.6504 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.9905, allocations: 188.2 kB / 0.6506 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001088/0.9906, allocations: 188.3 kB / 0.6508 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000118/0.9908, allocations: 184.2 kB / 0.6509 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.991, allocations: 355.4 kB / 0.6513 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.9912, allocations: 152.6 kB / 0.6514 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.9914, allocations: 184.3 kB / 0.6516 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9915, allocations: 104.9 kB / 0.6517 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.9917, allocations: 180.3 kB / 0.6519 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.9917, allocations: 101 kB / 0.652 GB, free: 2.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.9922, allocations: 355 kB / 0.6523 GB, free: 1.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9922, allocations: 0 / 0.6523 GB, free: 1.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003166/0.9954, allocations: 0.8023 MB / 0.6531 GB, free: 0.875 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.005026/1, allocations: 1.004 MB / 0.6541 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/1.001, allocations: 39.86 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.001, allocations: 0 / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/1.001, allocations: 0.75 kB / 0.6541 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.002, allocations: 0.6846 MB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/1.004, allocations: 0.933 MB / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/1.005, allocations: 284.4 kB / 0.656 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003276/1.005, allocations: 99.03 kB / 0.6561 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/1.005, allocations: 43.36 kB / 0.6561 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 8.81e-07/1.005, allocations: 0 / 0.6561 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.07097/1.076, allocations: 23.23 MB / 0.6788 GB, free: 6.652 MB / 0.5137 GB " [Timeout remaining time 659] 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: 7.427033271640539] Failed to read output from testmodel.py, exit status != 0: 1.0874429158866405 1.104175068 0.143983692 Calling exit ...