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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 109.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3311/0.3311, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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 3.1.0-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.4514/0.5974, allocations: 105.8 MB / 0.6017 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.6006, allocations: 0.9276 MB / 0.6026 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.6013, allocations: 23.81 kB / 0.6027 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009211/0.6023, allocations: 293.5 kB / 0.6029 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008997/0.6032, allocations: 445 kB / 0.6034 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.6172, allocations: 4.493 MB / 0.6077 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.6195, allocations: 1.323 MB / 0.609 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007415/0.6203, allocations: 466.8 kB / 0.6095 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.6209, allocations: 454.2 kB / 0.6099 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.6214, allocations: 437.8 kB / 0.6103 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.6215, allocations: 36 kB / 0.6104 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009978/0.6315, allocations: 4.393 MB / 0.6147 GB, free: 2.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.6318, allocations: 111.4 kB / 0.6148 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.6324, allocations: 362 kB / 0.6151 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009765/0.6422, allocations: 3.095 MB / 0.6181 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6422, allocations: 0 / 0.6181 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6422, allocations: 0 / 0.6181 GB, free: 15.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.909e-05/0.6423, allocations: 0 / 0.6181 GB, free: 15.41 MB / 478.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.003189/0.6455, allocations: 1.289 MB / 0.6194 GB, free: 14.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6456, allocations: 11.89 kB / 0.6194 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.6458, allocations: 87.91 kB / 0.6195 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/0.6467, allocations: 495.4 kB / 0.62 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.6468, allocations: 37.38 kB / 0.62 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.6469, allocations: 51.94 kB / 0.62 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.6478, allocations: 0.6101 MB / 0.6206 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6479, allocations: 3.938 kB / 0.6206 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.6479, allocations: 24 kB / 0.6207 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.648, allocations: 19.98 kB / 0.6207 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.6485, allocations: 255.3 kB / 0.6209 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.6551, allocations: 7.078 MB / 0.6278 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.6553, allocations: 177.1 kB / 0.628 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.6553, allocations: 80.14 kB / 0.6281 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.6554, allocations: 79.28 kB / 0.6282 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/0.6554, allocations: 109.9 kB / 0.6283 GB, free: 4.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.003e-06/0.6554, allocations: 3.938 kB / 0.6283 GB, free: 4.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.000285/0.6557, allocations: 112.8 kB / 0.6284 GB, free: 3.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.6558, allocations: 130.6 kB / 0.6285 GB, free: 3.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.657, allocations: 0.7686 MB / 0.6292 GB, free: 2.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.6571, allocations: 25.7 kB / 0.6293 GB, free: 2.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.6575, allocations: 395.1 kB / 0.6297 GB, free: 2.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.6575, allocations: 4 kB / 0.6297 GB, free: 2.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.6576, allocations: 37.61 kB / 0.6297 GB, free: 2.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6578, allocations: 313.9 kB / 0.63 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.6578, allocations: 19.98 kB / 0.63 GB, free: 2.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.6579, allocations: 90.23 kB / 0.6301 GB, free: 2.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.6581, allocations: 118 kB / 0.6302 GB, free: 1.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6581, allocations: 0 / 0.6302 GB, free: 1.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004799/0.6586, allocations: 196.9 kB / 0.6304 GB, free: 1.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.6586, allocations: 15.91 kB / 0.6304 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6586, allocations: 4 kB / 0.6304 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6587, allocations: 0 / 0.6304 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.6588, allocations: 23.98 kB / 0.6304 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.6588, allocations: 11.92 kB / 0.6304 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.6591, allocations: 51.28 kB / 0.6305 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.6592, allocations: 4 kB / 0.6305 GB, free: 1.566 MB / 478.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.0002337/0.6594, allocations: 237 kB / 0.6307 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.6597, allocations: 188 kB / 0.6309 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.6598, allocations: 171.7 kB / 0.6311 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.447e-05/0.6599, allocations: 180.2 kB / 0.6312 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000118/0.66, allocations: 180.3 kB / 0.6314 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.456e-05/0.6601, allocations: 176.3 kB / 0.6316 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.6608, allocations: 0.6573 MB / 0.6322 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-05/0.6609, allocations: 101 kB / 0.6323 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.6609, allocations: 104.9 kB / 0.6324 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.661, allocations: 176.3 kB / 0.6326 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/0.6611, allocations: 184.3 kB / 0.6328 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.435e-05/0.6612, allocations: 180.2 kB / 0.6329 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.021e-05/0.6613, allocations: 184.5 kB / 0.6331 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.6616, allocations: 390.8 kB / 0.6335 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.6618, allocations: 249.1 kB / 0.6337 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.662, allocations: 184.2 kB / 0.6339 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.6622, allocations: 105 kB / 0.634 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6623, allocations: 184.2 kB / 0.6342 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.6624, allocations: 101 kB / 0.6343 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007574/0.6632, allocations: 0.531 MB / 0.6348 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6632, allocations: 0 / 0.6348 GB, free: 12.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002362/0.6656, allocations: 0.7571 MB / 0.6355 GB, free: 12.17 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.00373/0.6693, allocations: 0.9857 MB / 0.6365 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.6695, allocations: 43.97 kB / 0.6365 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6695, allocations: 4 kB / 0.6365 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.64e-06/0.6695, allocations: 4 kB / 0.6365 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.672, allocations: 0.8893 MB / 0.6374 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.6736, allocations: 0.9705 MB / 0.6384 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.6743, allocations: 0.882 MB / 0.6392 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.6745, allocations: 67.34 kB / 0.6393 GB, free: 8.25 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6745, allocations: 0 / 0.6393 GB, free: 8.25 MB / 494.1 MB Notification: Performance of Templates: time 0.0376/0.7121, allocations: 19.74 MB / 0.6586 GB, free: 4.477 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)