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.00144/0.00144, allocations: 84.66 kB / 20.68 MB, free: 1.039 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.001509/0.001509, allocations: 168.5 kB / 23.95 MB, free: 4.172 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.481/1.481, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.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.1406/0.1406, allocations: 19.74 MB / 280.4 MB, free: 12.91 MB / 270.1 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.382e-06/1.382e-06, allocations: 0 / 417 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.482e-05, allocations: 10.22 kB / 417.1 MB, free: 0.5039 MB / 334.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.2802/0.2803, allocations: 99.8 MB / 0.5047 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.2828, allocations: 0.9237 MB / 0.5056 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.2832, allocations: 35.56 kB / 0.5057 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.284, allocations: 321.3 kB / 0.506 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.2848, allocations: 456.5 kB / 0.5064 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.2971, allocations: 4.538 MB / 0.5109 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.2991, allocations: 1.373 MB / 0.5122 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.2997, allocations: 379.9 kB / 0.5126 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.3006, allocations: 0.6389 MB / 0.5132 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.3011, allocations: 346.8 kB / 0.5135 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.3012, allocations: 36 kB / 0.5135 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00842/0.3096, allocations: 4.174 MB / 0.5176 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3098, allocations: 115.3 kB / 0.5177 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.3101, allocations: 231.4 kB / 0.518 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.3164, allocations: 3.64 MB / 0.5215 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3164, allocations: 0 / 0.5215 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3164, allocations: 0 / 0.5215 GB, free: 9.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3164, allocations: 0 / 0.5215 GB, free: 9.23 MB / 414.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.002094/0.3185, allocations: 1.242 MB / 0.5227 GB, free: 7.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3185, allocations: 12.02 kB / 0.5227 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3187, allocations: 100.3 kB / 0.5228 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.3193, allocations: 417.3 kB / 0.5232 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3194, allocations: 45.25 kB / 0.5233 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.3194, allocations: 56.36 kB / 0.5233 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.3204, allocations: 0.6047 MB / 0.5239 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3204, allocations: 7.938 kB / 0.5239 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.3204, allocations: 24 kB / 0.5239 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3204, allocations: 16 kB / 0.524 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.3209, allocations: 251.3 kB / 0.5242 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.3247, allocations: 4.398 MB / 0.5285 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3248, allocations: 169.1 kB / 0.5287 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.3249, allocations: 80.14 kB / 0.5287 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.3249, allocations: 79.28 kB / 0.5288 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.325, allocations: 109.8 kB / 0.5289 GB, free: 1.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.325, allocations: 0 / 0.5289 GB, free: 1.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001437/0.3251, allocations: 93.27 kB / 0.529 GB, free: 1.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.3252, allocations: 130.7 kB / 0.5291 GB, free: 1.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.3258, allocations: 0.5002 MB / 0.5296 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3258, allocations: 25.7 kB / 0.5296 GB, free: 496 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.3261, allocations: 427.5 kB / 0.53 GB, free: 60 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.3261, allocations: 3.938 kB / 0.53 GB, free: 56 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.3262, allocations: 37.66 kB / 0.5301 GB, free: 12 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3264, allocations: 358.8 kB / 0.5304 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.3264, allocations: 23.98 kB / 0.5305 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3266, allocations: 86.3 kB / 0.5305 GB, free: 15.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3267, allocations: 114.1 kB / 0.5306 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3267, allocations: 0 / 0.5306 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003348/0.327, allocations: 177 kB / 0.5308 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3271, allocations: 8.375 kB / 0.5308 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3271, allocations: 8 kB / 0.5308 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3271, allocations: 4 kB / 0.5308 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3272, allocations: 23.92 kB / 0.5309 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3272, allocations: 4 kB / 0.5309 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3273, allocations: 11.95 kB / 0.5309 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3274, allocations: 8 kB / 0.5309 GB, free: 15.11 MB / 430.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.0002311/0.3276, allocations: 237 kB / 0.5311 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3277, allocations: 164.6 kB / 0.5313 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3278, allocations: 148.6 kB / 0.5314 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.177e-05/0.3279, allocations: 180.2 kB / 0.5316 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.915e-05/0.328, allocations: 184.3 kB / 0.5317 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.608e-05/0.3281, allocations: 180.2 kB / 0.5319 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.3286, allocations: 0.5554 MB / 0.5325 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.3287, allocations: 105 kB / 0.5326 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.3287, allocations: 104.9 kB / 0.5327 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-05/0.3288, allocations: 184.2 kB / 0.5328 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/0.3289, allocations: 192.1 kB / 0.533 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.941e-05/0.329, allocations: 180.2 kB / 0.5332 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-05/0.3291, allocations: 180.2 kB / 0.5334 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3293, allocations: 359.4 kB / 0.5337 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3294, allocations: 152.6 kB / 0.5339 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3296, allocations: 184.2 kB / 0.534 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3297, allocations: 105 kB / 0.5341 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.3298, allocations: 184.5 kB / 0.5343 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.3299, allocations: 101 kB / 0.5344 GB, free: 11.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.3303, allocations: 351.1 kB / 0.5347 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3303, allocations: 0 / 0.5347 GB, free: 10.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001925/0.3322, allocations: 0.7906 MB / 0.5355 GB, free: 10.18 MB / 430.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.002778/0.335, allocations: 1.086 MB / 0.5366 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.3351, allocations: 43.86 kB / 0.5366 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3351, allocations: 0 / 0.5366 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.3351, allocations: 7.875 kB / 0.5366 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.3367, allocations: 0.6747 MB / 0.5373 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3381, allocations: 0.9245 MB / 0.5382 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3384, allocations: 280.5 kB / 0.5384 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.3386, allocations: 91.16 kB / 0.5385 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.3386, allocations: 40.42 kB / 0.5386 GB, free: 6.973 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3386, allocations: 0 / 0.5386 GB, free: 6.973 MB / 430.1 MB Notification: Performance of Templates: time 0.03526/0.3739, allocations: 22.24 MB / 0.5603 GB, free: 0.8594 MB / 446.1 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: 5.390200413763523] Failed to read output from testmodel.py, exit status != 0: 0.3830918073654175 0.397746771 0.07820752900000001 Calling exit ...