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.00139/0.00139, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001079/0.001079, allocations: 173.7 kB / 24.91 MB, free: 9.176 MB / 18.57 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 0.9224/0.9224, allocations: 158.6 MB / 186.8 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.2417/0.2417, allocations: 36.35 MB / 275.5 MB, free: 10.54 MB / 266.7 MB " [Timeout remaining time 180] 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: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.937e-05, allocations: 5.781 kB / 305.2 MB, free: 14.05 MB / 282.7 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.07167/0.07169, allocations: 80.69 MB / 385.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.07413, allocations: 0.9693 MB / 386.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.0745, allocations: 39.56 kB / 386.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.0751, allocations: 289.4 kB / 387.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.07572, allocations: 456.5 kB / 387.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.08753, allocations: 4.565 MB / 392.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.08947, allocations: 1.381 MB / 393.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006253/0.0901, allocations: 405.3 kB / 394 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.09088, allocations: 0.635 MB / 394.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.09134, allocations: 334.8 kB / 394.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.0914, allocations: 36 kB / 395 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008014/0.09941, allocations: 4.158 MB / 399.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.09955, allocations: 111.3 kB / 399.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.09982, allocations: 235.4 kB / 399.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.1075, allocations: 3.488 MB / 403 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1075, allocations: 0 / 403 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1075, allocations: 0 / 403 MB, free: 2.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1075, allocations: 0 / 403 MB, free: 2.07 MB / 362.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.001901/0.1094, allocations: 1.217 MB / 404.2 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1095, allocations: 12.03 kB / 404.2 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1096, allocations: 100.8 kB / 404.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.1101, allocations: 429.3 kB / 404.7 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.1102, allocations: 37.38 kB / 404.7 MB, free: 240 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.1102, allocations: 48.36 kB / 404.8 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1107, allocations: 0.5377 MB / 405.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1107, allocations: 11.94 kB / 405.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1107, allocations: 20 kB / 405.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1108, allocations: 16 kB / 405.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.111, allocations: 167.3 kB / 405.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.1142, allocations: 4.202 MB / 409.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.1142, allocations: 169.1 kB / 409.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.1143, allocations: 84.14 kB / 410 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1143, allocations: 79.22 kB / 410.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1143, allocations: 109.8 kB / 410.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.1143, allocations: 0 / 410.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.975e-05/0.1144, allocations: 61.59 kB / 410.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1145, allocations: 130.7 kB / 410.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.1148, allocations: 480 kB / 410.8 MB, free: 9.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1148, allocations: 29.7 kB / 410.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.115, allocations: 340.6 kB / 411.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.115, allocations: 0 / 411.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.115, allocations: 33.7 kB / 411.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1151, allocations: 366.7 kB / 411.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.1152, allocations: 4 kB / 411.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.1152, allocations: 94.16 kB / 411.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.1153, allocations: 110.1 kB / 411.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1153, allocations: 0 / 411.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001855/0.1155, allocations: 133.3 kB / 411.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1155, allocations: 10.44 kB / 411.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1155, allocations: 4 kB / 411.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1156, allocations: 4 kB / 411.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.1156, allocations: 23.98 kB / 411.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1156, allocations: 11.92 kB / 412 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1157, allocations: 11.89 kB / 412 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1158, allocations: 8.375 kB / 412 MB, free: 8.543 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 0.0001277/0.1159, allocations: 193.1 kB / 412.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.116, allocations: 136.9 kB / 412.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.478e-05/0.116, allocations: 148.8 kB / 412.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-05/0.1161, allocations: 184.2 kB / 412.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/0.1161, allocations: 176.3 kB / 412.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-05/0.1162, allocations: 184.2 kB / 413 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1165, allocations: 461.1 kB / 413.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/0.1165, allocations: 105 kB / 413.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.1165, allocations: 104.9 kB / 413.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-05/0.1166, allocations: 180.3 kB / 413.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.1166, allocations: 180.3 kB / 414 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-05/0.1167, allocations: 184.2 kB / 414.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-05/0.1167, allocations: 184.2 kB / 414.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.1169, allocations: 331.7 kB / 414.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.117, allocations: 148.6 kB / 414.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.117, allocations: 180.2 kB / 415 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1172, allocations: 109.3 kB / 415.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.1173, allocations: 188.1 kB / 415.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.1173, allocations: 105 kB / 415.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.1175, allocations: 220.6 kB / 415.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1175, allocations: 4 kB / 415.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002143/0.1197, allocations: 0.7867 MB / 416.4 MB, free: 3.957 MB / 378.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.002494/0.1222, allocations: 1.1 MB / 417.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.1223, allocations: 49.19 kB / 417.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.1223, allocations: 12.25 kB / 417.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1223, allocations: 0 / 417.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1233, allocations: 0.6935 MB / 418.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1248, allocations: 0.9305 MB / 419.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.1249, allocations: 117.2 kB / 419.3 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.1251, allocations: 79.19 kB / 419.4 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.1253, allocations: 173.2 kB / 419.5 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1253, allocations: 4 kB / 419.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of Templates: time 0.03092/0.1563, allocations: 24.77 MB / 444.3 MB, free: 7.938 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7446286962367594]