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.01276/0.01276, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.002511/0.002511, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.814/1.814, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.6187/0.6187, allocations: 95.48 MB / 365.4 MB, free: 9.688 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.001463/0.001463, allocations: 68.42 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1606, allocations: 69.09 MB / 0.5711 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.6669/0.8276, allocations: 148.7 MB / 0.7163 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005234/0.8329, allocations: 2.478 MB / 0.7187 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.8337, allocations: 13.94 kB / 0.7187 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.8348, allocations: 215.7 kB / 0.7189 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.8362, allocations: 361 kB / 0.7193 GB, free: 6.566 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.002927/0.8391, allocations: 0.7856 MB / 0.72 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.8413, allocations: 1.084 MB / 0.7211 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.8421, allocations: 381.1 kB / 0.7215 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.8434, allocations: 438.3 kB / 0.7219 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.8445, allocations: 446.3 kB / 0.7223 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.8447, allocations: 52 kB / 0.7224 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.8464, allocations: 0.6083 MB / 0.723 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.8466, allocations: 143.4 kB / 0.7231 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.8472, allocations: 302.6 kB / 0.7234 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.8491, allocations: 0.9062 MB / 0.7243 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8492, allocations: 0 / 0.7243 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8492, allocations: 0 / 0.7243 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.8492, allocations: 0 / 0.7243 GB, free: 1.602 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.002262/0.8515, allocations: 0.9222 MB / 0.7252 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.8515, allocations: 11.98 kB / 0.7252 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.852, allocations: 80.17 kB / 0.7253 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.8529, allocations: 433.7 kB / 0.7257 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.8529, allocations: 29.38 kB / 0.7257 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.853, allocations: 48.42 kB / 0.7257 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.8539, allocations: 468.9 kB / 0.7262 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.854, allocations: 7.938 kB / 0.7262 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.854, allocations: 16 kB / 0.7262 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.8541, allocations: 11.98 kB / 0.7262 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.8548, allocations: 339.7 kB / 0.7265 GB, free: 15.15 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.002939/0.8577, allocations: 1.677 MB / 0.7282 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.8583, allocations: 334.6 kB / 0.7285 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.8586, allocations: 152.8 kB / 0.7286 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008791/0.8595, allocations: 0.6922 MB / 0.7293 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.86, allocations: 268 kB / 0.7296 GB, free: 11.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.445e-06/0.86, allocations: 4 kB / 0.7296 GB, free: 11.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001113/0.8611, allocations: 492.9 kB / 0.7301 GB, free: 11.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.8613, allocations: 217.5 kB / 0.7303 GB, free: 11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.8618, allocations: 446 kB / 0.7307 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.8618, allocations: 29.7 kB / 0.7307 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.8621, allocations: 268 kB / 0.731 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.8622, allocations: 114.6 kB / 0.7311 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.8624, allocations: 94.02 kB / 0.7312 GB, free: 10.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8625, allocations: 358.8 kB / 0.7315 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.8629, allocations: 160.8 kB / 0.7317 GB, free: 9.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.8634, allocations: 331.9 kB / 0.732 GB, free: 9.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.8641, allocations: 450.9 kB / 0.7324 GB, free: 8.652 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8642, allocations: 4 kB / 0.7324 GB, free: 8.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009689/0.8651, allocations: 0.5127 MB / 0.7329 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.8652, allocations: 4.031 kB / 0.7329 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.8652, allocations: 8 kB / 0.7329 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.8652, allocations: 11.94 kB / 0.7329 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.8659, allocations: 111.9 kB / 0.733 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004455/0.8664, allocations: 0.6288 MB / 0.7337 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.8668, allocations: 51.58 kB / 0.7337 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.8669, allocations: 24.08 kB / 0.7337 GB, free: 7.27 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.0002851/0.8672, allocations: 189.6 kB / 0.7339 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.8673, allocations: 51.42 kB / 0.734 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.8684, allocations: 0.5536 MB / 0.7345 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.8684, allocations: 4 kB / 0.7345 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8684, allocations: 3.938 kB / 0.7345 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8684, allocations: 4 kB / 0.7345 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.8702, allocations: 1.102 MB / 0.7356 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.8702, allocations: 7.938 kB / 0.7356 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.8707, allocations: 79.88 kB / 0.7357 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.8707, allocations: 7.938 kB / 0.7357 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.8707, allocations: 8 kB / 0.7357 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003984/0.8711, allocations: 0.6272 MB / 0.7363 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8711, allocations: 0 / 0.7363 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.8724, allocations: 0.7547 MB / 0.737 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.8726, allocations: 132.5 kB / 0.7372 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.8727, allocations: 19.89 kB / 0.7372 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.873, allocations: 15.98 kB / 0.7372 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.8731, allocations: 23.97 kB / 0.7372 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.8731, allocations: 12 kB / 0.7372 GB, free: 3.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003832/0.8735, allocations: 318.9 kB / 0.7375 GB, free: 3.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8735, allocations: 0 / 0.7375 GB, free: 3.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008117/0.8743, allocations: 203.8 kB / 0.7377 GB, free: 3.047 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.0009346/0.8753, allocations: 326 kB / 0.738 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.8763, allocations: 431.6 kB / 0.7385 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8763, allocations: 4 kB / 0.7385 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.8768, allocations: 207.8 kB / 0.7387 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8781, allocations: 241.5 kB / 0.7389 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.8801, allocations: 0.9841 MB / 0.7398 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.8806, allocations: 0.8625 MB / 0.7407 GB, free: 0 / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004299/0.8811, allocations: 120.2 kB / 0.7408 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.8812, allocations: 47.42 kB / 0.7408 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.964e-06/0.8812, allocations: 0 / 0.7408 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.02275/0.904, allocations: 11.14 MB / 0.7517 GB, free: 4.801 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)