Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006891/0.006891, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001348/0.001348, allocations: 197 kB / 16.67 MB, free: 5.918 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.591/1.591, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6753/0.6753, allocations: 95.47 MB / 365.4 MB, free: 9.77 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 74.08 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1913, allocations: 69.09 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.6754/0.8668, allocations: 148.7 MB / 0.7163 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005038/0.8718, allocations: 2.467 MB / 0.7187 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.8728, allocations: 19.84 kB / 0.7187 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.8739, allocations: 217.7 kB / 0.7189 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.875, allocations: 356.6 kB / 0.7193 GB, free: 6.688 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Utilities/Reports/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.Reports.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.8776, allocations: 0.7904 MB / 0.72 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.8793, allocations: 1.072 MB / 0.7211 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006416/0.8799, allocations: 381 kB / 0.7215 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008118/0.8807, allocations: 458.4 kB / 0.7219 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.8813, allocations: 454.2 kB / 0.7223 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.8814, allocations: 44 kB / 0.7224 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.8828, allocations: 0.6083 MB / 0.723 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.883, allocations: 151.5 kB / 0.7231 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.8833, allocations: 294.5 kB / 0.7234 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.8846, allocations: 0.9062 MB / 0.7243 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8846, allocations: 0 / 0.7243 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8846, allocations: 0 / 0.7243 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.8846, allocations: 4 kB / 0.7243 GB, free: 1.578 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001689/0.8863, allocations: 0.9261 MB / 0.7252 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8864, allocations: 15.98 kB / 0.7252 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.8867, allocations: 72.17 kB / 0.7253 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.8874, allocations: 437.8 kB / 0.7257 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.8875, allocations: 29.38 kB / 0.7257 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.8876, allocations: 40.42 kB / 0.7257 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.8884, allocations: 472.9 kB / 0.7262 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.8885, allocations: 0 / 0.7262 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.8885, allocations: 16 kB / 0.7262 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.8886, allocations: 8 kB / 0.7262 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.8892, allocations: 339.7 kB / 0.7265 GB, free: 15.14 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.8918, allocations: 1.676 MB / 0.7282 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.8924, allocations: 334.7 kB / 0.7285 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.8927, allocations: 148.8 kB / 0.7286 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00087/0.8936, allocations: 0.6999 MB / 0.7293 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.894, allocations: 268.1 kB / 0.7296 GB, free: 11.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.8941, allocations: 0 / 0.7296 GB, free: 11.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001086/0.8951, allocations: 496.8 kB / 0.7301 GB, free: 11.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.8953, allocations: 217.7 kB / 0.7303 GB, free: 10.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.8958, allocations: 446 kB / 0.7307 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.8959, allocations: 37.7 kB / 0.7307 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.8961, allocations: 264 kB / 0.731 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.8962, allocations: 102.5 kB / 0.7311 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.8964, allocations: 102 kB / 0.7312 GB, free: 10.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.8966, allocations: 362.8 kB / 0.7315 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.8969, allocations: 160.8 kB / 0.7317 GB, free: 9.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.8974, allocations: 335.9 kB / 0.732 GB, free: 9.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.8982, allocations: 444.9 kB / 0.7324 GB, free: 8.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.8982, allocations: 4 kB / 0.7324 GB, free: 8.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008964/0.8991, allocations: 0.5085 MB / 0.7329 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.8991, allocations: 15.92 kB / 0.7329 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8991, allocations: 0 / 0.7329 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.8992, allocations: 8 kB / 0.7329 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.8998, allocations: 116.3 kB / 0.7331 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004298/0.9003, allocations: 0.6288 MB / 0.7337 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.9007, allocations: 51.58 kB / 0.7337 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.9007, allocations: 23.98 kB / 0.7337 GB, free: 7.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (printer.firstTrigger,$PRE.printer.firstTrigger,printer.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.901, allocations: 190.2 kB / 0.7339 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.901, allocations: 48.31 kB / 0.734 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.9021, allocations: 0.5577 MB / 0.7345 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.9021, allocations: 7.984 kB / 0.7345 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9021, allocations: 3.938 kB / 0.7345 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9021, allocations: 0 / 0.7345 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.9036, allocations: 1.098 MB / 0.7356 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9036, allocations: 0 / 0.7356 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.904, allocations: 92.34 kB / 0.7357 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.9041, allocations: 7.938 kB / 0.7357 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.9041, allocations: 8 kB / 0.7357 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/0.9045, allocations: 0.6172 MB / 0.7363 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9045, allocations: 1 kB / 0.7363 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.9057, allocations: 0.7664 MB / 0.737 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.9058, allocations: 120.5 kB / 0.7372 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.9059, allocations: 15.89 kB / 0.7372 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.9062, allocations: 19.98 kB / 0.7372 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.9063, allocations: 19.97 kB / 0.7372 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.9063, allocations: 16.06 kB / 0.7372 GB, free: 3.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003951/0.9067, allocations: 326.9 kB / 0.7375 GB, free: 3.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9068, allocations: 0 / 0.7375 GB, free: 3.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007209/0.9075, allocations: 195.8 kB / 0.7377 GB, free: 3.035 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (TIn.T,TOut.T) * Number of discrete variables: 3 (printer.sampleTrigger,$whenCondition1,printer.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007581/0.9082, allocations: 334 kB / 0.7381 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009439/0.9092, allocations: 428.3 kB / 0.7385 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9092, allocations: 256 / 0.7385 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.9097, allocations: 219.8 kB / 0.7387 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.9108, allocations: 230.7 kB / 0.7389 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.9126, allocations: 0.988 MB / 0.7399 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.9131, allocations: 0.8547 MB / 0.7407 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003743/0.9135, allocations: 124.1 kB / 0.7408 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9137, allocations: 51.42 kB / 0.7409 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.9137, allocations: 0 / 0.7409 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.02262/0.9363, allocations: 11.3 MB / 0.7519 GB, free: 4.617 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe 2>&1)