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.001261/0.001261, allocations: 111 kB / 17.74 MB, free: 5.34 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.001087/0.001088, allocations: 196.3 kB / 18.68 MB, free: 4.41 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.464/1.464, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3123/0.3123, allocations: 48.84 MB / 320.7 MB, free: 11 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.001463/0.001463, allocations: 71.89 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 59.16 MB / 0.4984 GB, free: 13.24 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.4559/0.5961, allocations: 105.8 MB / 0.6017 GB, free: 260 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.5994, allocations: 0.9315 MB / 0.6027 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.6009, allocations: 19.81 kB / 0.6027 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.6022, allocations: 305.5 kB / 0.603 GB, free: 15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.6039, allocations: 441 kB / 0.6034 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.619, allocations: 4.493 MB / 0.6078 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.6218, allocations: 1.311 MB / 0.6091 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.6229, allocations: 478.8 kB / 0.6095 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.624, allocations: 454.2 kB / 0.6099 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.625, allocations: 429.8 kB / 0.6104 GB, free: 7.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.6252, allocations: 36 kB / 0.6104 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.6362, allocations: 4.401 MB / 0.6147 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6365, allocations: 111.4 kB / 0.6148 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.6371, allocations: 358 kB / 0.6151 GB, free: 2.488 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009152/0.6463, allocations: 3.099 MB / 0.6182 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6463, allocations: 0 / 0.6182 GB, free: 15.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6464, allocations: 0 / 0.6182 GB, free: 15.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.6464, allocations: 0 / 0.6182 GB, free: 15.38 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.002821/0.6492, allocations: 1.289 MB / 0.6194 GB, free: 14.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6493, allocations: 11.89 kB / 0.6194 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.6495, allocations: 95.89 kB / 0.6195 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.6503, allocations: 483.4 kB / 0.62 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.6504, allocations: 41.38 kB / 0.62 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.6504, allocations: 51.94 kB / 0.6201 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.6514, allocations: 0.6062 MB / 0.6207 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6514, allocations: 11.94 kB / 0.6207 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.6515, allocations: 20 kB / 0.6207 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.6515, allocations: 16 kB / 0.6207 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.6519, allocations: 255.3 kB / 0.621 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006029/0.658, allocations: 7.089 MB / 0.6279 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.6581, allocations: 169.1 kB / 0.628 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.6582, allocations: 80.14 kB / 0.6281 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.6583, allocations: 75.31 kB / 0.6282 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/0.6583, allocations: 121.8 kB / 0.6283 GB, free: 3.973 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.6583, allocations: 0 / 0.6283 GB, free: 3.973 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002458/0.6586, allocations: 108.6 kB / 0.6284 GB, free: 3.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.6587, allocations: 130.6 kB / 0.6285 GB, free: 3.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6597, allocations: 0.7725 MB / 0.6293 GB, free: 2.922 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.6597, allocations: 25.7 kB / 0.6293 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.6601, allocations: 387.1 kB / 0.6297 GB, free: 2.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.6601, allocations: 7.984 kB / 0.6297 GB, free: 2.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.6602, allocations: 37.61 kB / 0.6297 GB, free: 2.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.6604, allocations: 313.9 kB / 0.63 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.6604, allocations: 19.98 kB / 0.63 GB, free: 2.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.6606, allocations: 86.3 kB / 0.6301 GB, free: 2.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6607, allocations: 110.1 kB / 0.6302 GB, free: 1.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6608, allocations: 3.938 kB / 0.6302 GB, free: 1.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004065/0.6612, allocations: 200.5 kB / 0.6304 GB, free: 1.652 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6612, allocations: 4 kB / 0.6304 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6612, allocations: 4 kB / 0.6304 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6612, allocations: 4 kB / 0.6304 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.6614, allocations: 31.92 kB / 0.6305 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.6614, allocations: 4 kB / 0.6305 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.6616, allocations: 51.64 kB / 0.6305 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.6617, allocations: 12 kB / 0.6305 GB, free: 1.543 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.00021/0.6619, allocations: 236.9 kB / 0.6308 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.6621, allocations: 180 kB / 0.6309 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.6622, allocations: 167.7 kB / 0.6311 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/0.6623, allocations: 188.2 kB / 0.6313 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/0.6623, allocations: 180.3 kB / 0.6314 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001639/0.6625, allocations: 176.3 kB / 0.6316 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.6632, allocations: 0.6455 MB / 0.6322 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/0.6633, allocations: 109 kB / 0.6323 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.6634, allocations: 108.9 kB / 0.6324 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.035e-05/0.6635, allocations: 176.3 kB / 0.6326 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.6635, allocations: 188.2 kB / 0.6328 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001502/0.6637, allocations: 176.3 kB / 0.633 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.699e-05/0.6638, allocations: 180.5 kB / 0.6331 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.6641, allocations: 394.8 kB / 0.6335 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.6643, allocations: 257.1 kB / 0.6338 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6645, allocations: 180.2 kB / 0.6339 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6647, allocations: 105 kB / 0.634 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.6648, allocations: 180.2 kB / 0.6342 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.6649, allocations: 105 kB / 0.6343 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006835/0.6655, allocations: 0.531 MB / 0.6348 GB, free: 12.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6655, allocations: 0 / 0.6348 GB, free: 12.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002269/0.6678, allocations: 0.7572 MB / 0.6356 GB, free: 12.15 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.003347/0.6712, allocations: 0.9819 MB / 0.6365 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.6714, allocations: 48.64 kB / 0.6366 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6714, allocations: 0 / 0.6366 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.6714, allocations: 8.062 kB / 0.6366 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6741, allocations: 0.8963 MB / 0.6374 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.6757, allocations: 0.9627 MB / 0.6384 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.6763, allocations: 0.8859 MB / 0.6392 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.6764, allocations: 59.36 kB / 0.6393 GB, free: 8.23 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6764, allocations: 0 / 0.6393 GB, free: 8.23 MB / 494.1 MB Notification: Performance of Templates: time 0.03551/0.712, allocations: 19.64 MB / 0.6585 GB, free: 4.547 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)