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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5917/0.5917, allocations: 94.78 MB / 102.3 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00127/0.00127, allocations: 176.7 kB / 125.5 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.132/2.132, allocations: 170.6 MB / 319.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001983/0.001983, allocations: 103 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.058e-05, allocations: 7.984 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2789, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.533/1.812, allocations: 374.5 MB / 0.8644 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.813, allocations: 87.36 kB / 0.8645 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.82/2.633, allocations: 142.7 MB / 1.004 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/2.633, allocations: 0 / 1.004 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.8e-05/2.633, allocations: 16 kB / 1.004 GB, free: 116.2 MB / 0.5261 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.002267/2.635, allocations: 0.7734 MB / 1.005 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/2.635, allocations: 8.031 kB / 1.005 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/2.636, allocations: 67.34 kB / 1.005 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/2.637, allocations: 441.7 kB / 1.005 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/2.637, allocations: 16 kB / 1.005 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/2.637, allocations: 24 kB / 1.005 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006125/2.638, allocations: 285.4 kB / 1.005 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/2.639, allocations: 382 kB / 1.006 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/2.639, allocations: 0 / 1.006 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/2.639, allocations: 8 kB / 1.006 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/2.639, allocations: 12 kB / 1.006 GB, free: 114.1 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.002686/2.641, allocations: 1.536 MB / 1.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/2.642, allocations: 282.9 kB / 1.008 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/2.642, allocations: 129.3 kB / 1.008 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/2.643, allocations: 0.6922 MB / 1.008 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/2.643, allocations: 242.9 kB / 1.009 GB, free: 111 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.536e-06/2.643, allocations: 7.984 kB / 1.009 GB, free: 111 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.001158/2.644, allocations: 394.2 kB / 1.009 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/2.644, allocations: 213.6 kB / 1.009 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/2.645, allocations: 309.2 kB / 1.009 GB, free: 110 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/2.645, allocations: 29.7 kB / 1.009 GB, free: 110 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/2.645, allocations: 275.9 kB / 1.01 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/2.645, allocations: 106.4 kB / 1.01 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/2.645, allocations: 0 / 1.01 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001172/2.645, allocations: 354.8 kB / 1.01 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/2.645, allocations: 136.8 kB / 1.01 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/2.646, allocations: 307.1 kB / 1.011 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/2.647, allocations: 251.7 kB / 1.011 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/2.647, allocations: 0 / 1.011 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001199/2.648, allocations: 0.528 MB / 1.011 GB, free: 108 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/2.648, allocations: 4 kB / 1.011 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.648, allocations: 7.938 kB / 1.011 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/2.648, allocations: 11.95 kB / 1.011 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/2.648, allocations: 120.3 kB / 1.011 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/2.649, allocations: 0.6328 MB / 1.012 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/2.649, allocations: 47.75 kB / 1.012 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/2.649, allocations: 31.98 kB / 1.012 GB, free: 107.1 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: printer.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.printer.firstTrigger,printer.firstTrigger,$whenCondition1,printer.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/2.65, allocations: 120.8 kB / 1.012 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/2.65, allocations: 51.39 kB / 1.012 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/2.651, allocations: 0.5472 MB / 1.013 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/2.651, allocations: 4 kB / 1.013 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.651, allocations: 3.938 kB / 1.013 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/2.651, allocations: 3.984 kB / 1.013 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/2.653, allocations: 1.039 MB / 1.014 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/2.653, allocations: 0 / 1.014 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/2.653, allocations: 79.89 kB / 1.014 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/2.653, allocations: 0 / 1.014 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/2.653, allocations: 7.984 kB / 1.014 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002851/2.653, allocations: 0.629 MB / 1.015 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.653, allocations: 0 / 1.015 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/2.655, allocations: 0.7314 MB / 1.015 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/2.655, allocations: 124.5 kB / 1.015 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/2.655, allocations: 8.156 kB / 1.015 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/2.655, allocations: 31.81 kB / 1.015 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/2.655, allocations: 27.86 kB / 1.015 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/2.655, allocations: 15.98 kB / 1.016 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002506/2.656, allocations: 251 kB / 1.016 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/2.656, allocations: 7.938 kB / 1.016 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009463/2.657, allocations: 211.6 kB / 1.016 GB, free: 103.1 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/2.658, allocations: 427.3 kB / 1.016 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008175/2.659, allocations: 359.1 kB / 1.017 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.659, allocations: 4.188 kB / 1.017 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/2.659, allocations: 179.8 kB / 1.017 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/2.66, allocations: 176.8 kB / 1.017 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/2.661, allocations: 0.6826 MB / 1.018 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/2.662, allocations: 0.8743 MB / 1.019 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004775/2.662, allocations: 99.17 kB / 1.019 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/2.663, allocations: 51.41 kB / 1.019 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/2.663, allocations: 0 / 1.019 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.01921/2.682, allocations: 9.516 MB / 1.028 GB, free: 90.87 MB / 0.5261 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)