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.001466/0.001466, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001494/0.001494, allocations: 189.3 kB / 18.68 MB, free: 4.406 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.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2745/0.2745, 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.001436/0.001436, allocations: 72.28 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, 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.3162/0.4187, allocations: 105.8 MB / 0.6018 GB, free: 300 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.4213, allocations: 0.9276 MB / 0.6027 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.4217, allocations: 23.81 kB / 0.6027 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.4225, allocations: 297.5 kB / 0.603 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007571/0.4233, allocations: 445 kB / 0.6034 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.4353, allocations: 4.497 MB / 0.6078 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.4375, allocations: 1.323 MB / 0.6091 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.4383, allocations: 474.8 kB / 0.6095 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.4388, allocations: 450.2 kB / 0.61 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.4393, allocations: 433.8 kB / 0.6104 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.4394, allocations: 36 kB / 0.6104 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008392/0.4478, allocations: 4.397 MB / 0.6147 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.448, allocations: 115.4 kB / 0.6148 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.4484, allocations: 354 kB / 0.6151 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.4551, allocations: 3.095 MB / 0.6182 GB, free: 15.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4551, allocations: 0 / 0.6182 GB, free: 15.42 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4551, allocations: 0 / 0.6182 GB, free: 15.42 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.904e-05/0.4552, allocations: 0 / 0.6182 GB, free: 15.42 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.00226/0.4574, allocations: 1.293 MB / 0.6194 GB, free: 14.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4575, allocations: 15.89 kB / 0.6194 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.4577, allocations: 87.91 kB / 0.6195 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.4584, allocations: 487.4 kB / 0.62 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.4585, allocations: 37.38 kB / 0.62 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.4585, allocations: 51.94 kB / 0.6201 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.4594, allocations: 0.6062 MB / 0.6207 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4594, allocations: 15.92 kB / 0.6207 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.4595, allocations: 24 kB / 0.6207 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.4595, allocations: 16 kB / 0.6207 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.4599, allocations: 251.3 kB / 0.621 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.4646, allocations: 7.082 MB / 0.6279 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.4647, allocations: 169.1 kB / 0.628 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.4648, allocations: 88.14 kB / 0.6281 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4648, allocations: 79.31 kB / 0.6282 GB, free: 4.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.4648, allocations: 113.8 kB / 0.6283 GB, free: 4.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.4649, allocations: 3.938 kB / 0.6283 GB, free: 4.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001633/0.465, allocations: 108.7 kB / 0.6284 GB, free: 3.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4651, allocations: 51.41 kB / 0.6285 GB, free: 3.832 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.466, allocations: 0.7724 MB / 0.6292 GB, free: 3.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.466, allocations: 25.7 kB / 0.6292 GB, free: 3.004 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.4663, allocations: 391.1 kB / 0.6296 GB, free: 2.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.4663, allocations: 4 kB / 0.6296 GB, free: 2.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.4663, allocations: 37.61 kB / 0.6297 GB, free: 2.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.4664, allocations: 314 kB / 0.63 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.4665, allocations: 15.98 kB / 0.63 GB, free: 2.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.4666, allocations: 86.3 kB / 0.6301 GB, free: 2.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4667, allocations: 118 kB / 0.6302 GB, free: 1.969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4667, allocations: 0 / 0.6302 GB, free: 1.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003143/0.467, allocations: 200.5 kB / 0.6304 GB, free: 1.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4671, allocations: 11.84 kB / 0.6304 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4671, allocations: 4 kB / 0.6304 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4671, allocations: 4 kB / 0.6304 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4672, allocations: 23.98 kB / 0.6304 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4672, allocations: 11.92 kB / 0.6304 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4674, allocations: 47.66 kB / 0.6305 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.4675, allocations: 12 kB / 0.6305 GB, free: 1.652 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.000196/0.4677, allocations: 237 kB / 0.6307 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4678, allocations: 180 kB / 0.6309 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4679, allocations: 175.7 kB / 0.631 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/0.468, allocations: 180.2 kB / 0.6312 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.468, allocations: 101 kB / 0.6313 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.4682, allocations: 245.1 kB / 0.6315 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.4683, allocations: 192.2 kB / 0.6317 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4685, allocations: 101 kB / 0.6318 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.4685, allocations: 184.1 kB / 0.632 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.414e-05/0.4686, allocations: 255.5 kB / 0.6322 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002066/0.4688, allocations: 471 kB / 0.6327 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.901e-05/0.4689, allocations: 105 kB / 0.6328 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005818/0.4695, allocations: 0.531 MB / 0.6333 GB, free: 14.61 MB / 494.1 MB Notification: Performance of Backend: time 6.61e-07/0.4695, allocations: 0 / 0.6333 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.4731, allocations: 1.017 MB / 0.6343 GB, free: 13.58 MB / 494.1 MB Notification: Performance of SimCode: time 0.003295/0.4764, allocations: 2.115 MB / 0.6364 GB, free: 11.41 MB / 494.1 MB Notification: Performance of Templates: time 0.04214/0.5185, allocations: 28.92 MB / 0.6646 GB, free: 14.45 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)