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.0008903/0.0008903, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0011/0.0011, allocations: 177.1 kB / 24.92 MB, free: 8.762 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.8993/0.8993, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.09071/0.09071, allocations: 19.74 MB / 281.6 MB, free: 9.16 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.523e-06/1.523e-06, allocations: 0 / 305.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.878e-05, allocations: 2.312 kB / 305.2 MB, free: 13.12 MB / 282.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.05806/0.05808, allocations: 80.85 MB / 386 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.06, allocations: 0.9771 MB / 387 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.06028, allocations: 35.56 kB / 387 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.06082, allocations: 289.4 kB / 387.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.06134, allocations: 456.5 kB / 387.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.06936, allocations: 4.58 MB / 392.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009619/0.07032, allocations: 1.365 MB / 393.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.07071, allocations: 401.4 kB / 394.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.07117, allocations: 0.635 MB / 394.7 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.07148, allocations: 334.8 kB / 395.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.07152, allocations: 40 kB / 395.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.07654, allocations: 4.166 MB / 399.3 MB, free: 244 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.07662, allocations: 107.4 kB / 399.4 MB, free: 136 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.07679, allocations: 239.4 kB / 399.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.08002, allocations: 3.499 MB / 403.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.08002, allocations: 0 / 403.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08002, allocations: 0 / 403.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.08003, allocations: 0 / 403.1 MB, free: 12.39 MB / 378.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.00111/0.08114, allocations: 1.221 MB / 404.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.08117, allocations: 12.03 kB / 404.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.08125, allocations: 96.84 kB / 404.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.08166, allocations: 433.2 kB / 404.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.08168, allocations: 37.38 kB / 404.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.08171, allocations: 44.38 kB / 404.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.08206, allocations: 0.5415 MB / 405.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.08208, allocations: 7.938 kB / 405.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.0821, allocations: 24 kB / 405.5 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.08211, allocations: 16 kB / 405.5 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.08224, allocations: 171.4 kB / 405.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.0841, allocations: 4.202 MB / 409.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.08415, allocations: 169.1 kB / 410.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.08417, allocations: 84.14 kB / 410.2 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.08419, allocations: 75.28 kB / 410.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.08422, allocations: 105.8 kB / 410.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.08422, allocations: 0 / 410.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.399e-05/0.08429, allocations: 65.53 kB / 410.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.08433, allocations: 130.7 kB / 410.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.0846, allocations: 484 kB / 411 MB, free: 4.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.08461, allocations: 25.7 kB / 411 MB, free: 4.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.08473, allocations: 332.6 kB / 411.3 MB, free: 3.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.08474, allocations: 3.984 kB / 411.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.08477, allocations: 41.7 kB / 411.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.08486, allocations: 362.7 kB / 411.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.08487, allocations: 8.109 kB / 411.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.08492, allocations: 94.09 kB / 411.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.08499, allocations: 110.2 kB / 411.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.08499, allocations: 0 / 411.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001279/0.08512, allocations: 125.7 kB / 412.1 MB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.08513, allocations: 7.938 kB / 412.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.08513, allocations: 4 kB / 412.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.08515, allocations: 7.938 kB / 412.1 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.08521, allocations: 23.98 kB / 412.1 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08521, allocations: 7.984 kB / 412.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.08528, allocations: 15.89 kB / 412.1 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.08529, allocations: 8 kB / 412.1 MB, free: 2.852 MB / 378.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 9.063e-05/0.08538, allocations: 193.1 kB / 412.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.08543, allocations: 133 kB / 412.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.08549, allocations: 156.7 kB / 412.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/0.08553, allocations: 180.3 kB / 412.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/0.08556, allocations: 180.2 kB / 413 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/0.0856, allocations: 180.2 kB / 413.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.08582, allocations: 461.1 kB / 413.6 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.08584, allocations: 101 kB / 413.7 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.08586, allocations: 101 kB / 413.8 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.911e-05/0.0859, allocations: 184.4 kB / 414 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.08594, allocations: 184.3 kB / 414.2 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.742e-05/0.08598, allocations: 184.2 kB / 414.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-05/0.08601, allocations: 188.2 kB / 414.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.08611, allocations: 331.7 kB / 414.8 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.08617, allocations: 140.8 kB / 415 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.08624, allocations: 184.2 kB / 415.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.08631, allocations: 109 kB / 415.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.08635, allocations: 188 kB / 415.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.08638, allocations: 108.9 kB / 415.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.08651, allocations: 216.6 kB / 415.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08651, allocations: 0 / 415.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009802/0.08749, allocations: 0.7946 MB / 416.6 MB, free: 14.26 MB / 394.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.001545/0.08903, allocations: 1.128 MB / 417.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.0891, allocations: 40.94 kB / 417.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.08911, allocations: 4 kB / 417.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.08911, allocations: 4.75 kB / 417.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.08978, allocations: 0.6857 MB / 418.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.09069, allocations: 0.9351 MB / 419.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.09075, allocations: 113.2 kB / 419.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.09088, allocations: 87.17 kB / 419.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.09108, allocations: 165.2 kB / 419.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.09108, allocations: 3.938 kB / 419.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of Templates: time 0.02367/0.1148, allocations: 24.9 MB / 444.6 MB, free: 2.25 MB / 410.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.33442513179034]