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.001449/0.00145, allocations: 109 kB / 17.06 MB, free: 6.02 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.001471/0.001471, allocations: 191 kB / 18 MB, free: 5.109 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.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2635/0.2635, allocations: 48.85 MB / 320.1 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.002663/0.002663, allocations: 63.91 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1321, allocations: 59.17 MB / 0.4978 GB, free: 13.26 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.3309/0.463, allocations: 105.8 MB / 0.6011 GB, free: 264 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.4654, allocations: 0.9276 MB / 0.602 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.4658, allocations: 23.81 kB / 0.6021 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.4666, allocations: 305.5 kB / 0.6023 GB, free: 15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.4673, allocations: 445 kB / 0.6028 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.479, allocations: 4.512 MB / 0.6072 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.4807, allocations: 1.319 MB / 0.6085 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.4813, allocations: 470.8 kB / 0.6089 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.4819, allocations: 454.2 kB / 0.6093 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.4824, allocations: 437.8 kB / 0.6098 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.4825, allocations: 36 kB / 0.6098 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007933/0.4904, allocations: 4.397 MB / 0.6141 GB, free: 2.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.4905, allocations: 119.4 kB / 0.6142 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.4909, allocations: 358 kB / 0.6145 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.4956, allocations: 3.091 MB / 0.6176 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4956, allocations: 4 kB / 0.6176 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4956, allocations: 0 / 0.6176 GB, free: 15.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.4956, allocations: 0 / 0.6176 GB, free: 15.36 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.001698/0.4973, allocations: 1.289 MB / 0.6188 GB, free: 14.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4974, allocations: 11.89 kB / 0.6188 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.4975, allocations: 87.91 kB / 0.6189 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.4981, allocations: 491.4 kB / 0.6194 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.4982, allocations: 37.38 kB / 0.6194 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.4982, allocations: 51.94 kB / 0.6195 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.499, allocations: 0.6101 MB / 0.6201 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.499, allocations: 7.938 kB / 0.6201 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.4991, allocations: 20 kB / 0.6201 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4991, allocations: 12 kB / 0.6201 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.4994, allocations: 255.3 kB / 0.6204 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.5037, allocations: 7.086 MB / 0.6273 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.5038, allocations: 169.1 kB / 0.6274 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.5038, allocations: 88.11 kB / 0.6275 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5038, allocations: 75.28 kB / 0.6276 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.5039, allocations: 117.8 kB / 0.6277 GB, free: 3.953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.5039, allocations: 0 / 0.6277 GB, free: 3.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.000137/0.504, allocations: 112.7 kB / 0.6278 GB, free: 3.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.5041, allocations: 126.7 kB / 0.6279 GB, free: 3.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.5049, allocations: 0.7725 MB / 0.6287 GB, free: 2.902 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5049, allocations: 25.7 kB / 0.6287 GB, free: 2.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.5052, allocations: 387.1 kB / 0.6291 GB, free: 2.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.5052, allocations: 4 kB / 0.6291 GB, free: 2.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.5053, allocations: 37.61 kB / 0.6291 GB, free: 2.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5054, allocations: 317.9 kB / 0.6294 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.5054, allocations: 19.92 kB / 0.6294 GB, free: 2.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.5055, allocations: 90.23 kB / 0.6295 GB, free: 1.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5056, allocations: 118 kB / 0.6296 GB, free: 1.828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5056, allocations: 4 kB / 0.6296 GB, free: 1.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002984/0.5059, allocations: 192.8 kB / 0.6298 GB, free: 1.629 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.506, allocations: 11.91 kB / 0.6298 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.506, allocations: 4 kB / 0.6298 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.506, allocations: 4 kB / 0.6298 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.5061, allocations: 27.98 kB / 0.6299 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5061, allocations: 7.922 kB / 0.6299 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.5063, allocations: 51.28 kB / 0.6299 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5063, allocations: 8 kB / 0.6299 GB, free: 1.516 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.0001671/0.5065, allocations: 237.1 kB / 0.6302 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5066, allocations: 184 kB / 0.6303 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5067, allocations: 167.7 kB / 0.6305 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/0.5068, allocations: 184.3 kB / 0.6307 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/0.5069, allocations: 180.2 kB / 0.6308 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/0.5069, allocations: 176.3 kB / 0.631 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.5074, allocations: 0.6534 MB / 0.6316 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/0.5075, allocations: 105 kB / 0.6317 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.5075, allocations: 101 kB / 0.6318 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.109e-05/0.5076, allocations: 188.2 kB / 0.632 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.5076, allocations: 176.3 kB / 0.6322 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-05/0.5077, allocations: 180.2 kB / 0.6324 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.198e-05/0.5077, allocations: 184.2 kB / 0.6325 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.508, allocations: 395 kB / 0.6329 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.5081, allocations: 249.1 kB / 0.6332 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.5083, allocations: 184.2 kB / 0.6333 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.5084, allocations: 105 kB / 0.6334 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.5085, allocations: 184.2 kB / 0.6336 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.5085, allocations: 101 kB / 0.6337 GB, free: 13.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005612/0.5091, allocations: 0.531 MB / 0.6342 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5091, allocations: 3.938 kB / 0.6342 GB, free: 12.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001782/0.5109, allocations: 0.7533 MB / 0.635 GB, free: 12.12 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.00231/0.5132, allocations: 0.9897 MB / 0.6359 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.5134, allocations: 43.95 kB / 0.636 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5134, allocations: 0 / 0.636 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5134, allocations: 0 / 0.636 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.5155, allocations: 0.8894 MB / 0.6368 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5167, allocations: 0.9454 MB / 0.6378 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.5171, allocations: 0.882 MB / 0.6386 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.5174, allocations: 125.5 kB / 0.6387 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.5175, allocations: 47.44 kB / 0.6388 GB, free: 8.129 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5175, allocations: 4 kB / 0.6388 GB, free: 8.125 MB / 494.1 MB Notification: Performance of Templates: time 0.03677/0.5542, allocations: 26.44 MB / 0.6646 GB, free: 13.63 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)