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.001196/0.001196, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001225/0.001225, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.466/1.466, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3082/0.3082, allocations: 48.84 MB / 320.8 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.001795/0.001795, allocations: 83.86 kB / 451.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 59.15 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.4192/0.5578, allocations: 106 MB / 0.6019 GB, free: 100 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.5613, allocations: 0.9237 MB / 0.6028 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.5629, allocations: 23.81 kB / 0.6028 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5645, allocations: 301.4 kB / 0.6031 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.5665, allocations: 449.1 kB / 0.6035 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01606/0.5825, allocations: 4.52 MB / 0.608 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.5852, allocations: 1.327 MB / 0.6093 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.5865, allocations: 470.8 kB / 0.6097 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.5875, allocations: 454.2 kB / 0.6101 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.5885, allocations: 429.9 kB / 0.6105 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.5886, allocations: 36 kB / 0.6106 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.5997, allocations: 4.401 MB / 0.6149 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.6, allocations: 107.5 kB / 0.615 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00066/0.6007, allocations: 358 kB / 0.6153 GB, free: 2.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.6125, allocations: 3.101 MB / 0.6184 GB, free: 15.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6125, allocations: 0 / 0.6184 GB, free: 15.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6126, allocations: 0 / 0.6184 GB, free: 15.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.483e-05/0.6126, allocations: 0 / 0.6184 GB, free: 15.19 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.003258/0.6159, allocations: 1.321 MB / 0.6196 GB, free: 13.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.616, allocations: 15.89 kB / 0.6197 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.6162, allocations: 104.3 kB / 0.6198 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.6171, allocations: 0.496 MB / 0.6202 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/0.6172, allocations: 37.38 kB / 0.6203 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.6172, allocations: 47.94 kB / 0.6203 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.6182, allocations: 0.6062 MB / 0.6209 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6182, allocations: 3.938 kB / 0.6209 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.6183, allocations: 24 kB / 0.6209 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.6183, allocations: 20 kB / 0.621 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.6188, allocations: 255.3 kB / 0.6212 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005567/0.6244, allocations: 7.087 MB / 0.6281 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.6246, allocations: 165.1 kB / 0.6283 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.6246, allocations: 80.14 kB / 0.6284 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.6246, allocations: 79.28 kB / 0.6284 GB, free: 3.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.6247, allocations: 117.8 kB / 0.6285 GB, free: 3.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.545e-06/0.6247, allocations: 0 / 0.6285 GB, free: 3.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002664/0.625, allocations: 121 kB / 0.6287 GB, free: 3.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6251, allocations: 51.41 kB / 0.6287 GB, free: 3.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.6261, allocations: 0.7686 MB / 0.6295 GB, free: 2.742 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.6261, allocations: 25.7 kB / 0.6295 GB, free: 2.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.6265, allocations: 399.4 kB / 0.6299 GB, free: 2.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.6265, allocations: 0 / 0.6299 GB, free: 2.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.6266, allocations: 33.7 kB / 0.6299 GB, free: 2.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6267, allocations: 322 kB / 0.6302 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.6268, allocations: 12 kB / 0.6302 GB, free: 1.945 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.6269, allocations: 82.3 kB / 0.6303 GB, free: 1.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.627, allocations: 122 kB / 0.6304 GB, free: 1.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.627, allocations: 3.938 kB / 0.6304 GB, free: 1.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004408/0.6275, allocations: 209 kB / 0.6306 GB, free: 1.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6275, allocations: 4 kB / 0.6306 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6275, allocations: 4 kB / 0.6306 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6276, allocations: 4 kB / 0.6306 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.6277, allocations: 31.92 kB / 0.6307 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.6277, allocations: 4 kB / 0.6307 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.628, allocations: 47.52 kB / 0.6307 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.628, allocations: 8 kB / 0.6307 GB, free: 1.355 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.0002329/0.6282, allocations: 245.2 kB / 0.6309 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6284, allocations: 180.5 kB / 0.6311 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.6286, allocations: 175.6 kB / 0.6313 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/0.6286, allocations: 176.3 kB / 0.6315 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/0.6287, allocations: 101 kB / 0.6316 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6289, allocations: 257.5 kB / 0.6318 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.6291, allocations: 184.3 kB / 0.632 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.6293, allocations: 105 kB / 0.6321 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.6294, allocations: 184.1 kB / 0.6323 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001041/0.6295, allocations: 259.5 kB / 0.6325 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002581/0.6298, allocations: 463.5 kB / 0.6329 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.754e-05/0.6298, allocations: 108.9 kB / 0.633 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006789/0.6305, allocations: 0.531 MB / 0.6336 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Backend: time 8.11e-07/0.6305, allocations: 0 / 0.6336 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.6352, allocations: 1.031 MB / 0.6346 GB, free: 13.26 MB / 494.1 MB Notification: Performance of SimCode: time 0.003511/0.6388, allocations: 2.137 MB / 0.6367 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Templates: time 0.04844/0.6872, allocations: 28.71 MB / 0.6647 GB, free: 14.3 MB / 0.5137 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)