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.5535/0.5535, allocations: 95.62 MB / 110.6 MB, free: 9.363 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.001757/0.001757, allocations: 169.9 kB / 134.2 MB, free: 2.25 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.563/1.563, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001539/0.001538, allocations: 101.9 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.000413, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 61.52 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.302, allocations: 375.3 MB / 0.8784 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.302, allocations: 87.02 kB / 0.8785 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6655/1.968, allocations: 144.1 MB / 1.019 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/1.968, allocations: 0 / 1.019 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.167e-05/1.968, allocations: 16 kB / 1.019 GB, free: 128.5 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.001463/1.969, allocations: 0.8467 MB / 1.02 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.969, allocations: 11.98 kB / 1.02 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/1.97, allocations: 71.25 kB / 1.02 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/1.97, allocations: 443.1 kB / 1.021 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/1.97, allocations: 33 kB / 1.021 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/1.97, allocations: 39.95 kB / 1.021 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/1.971, allocations: 464.7 kB / 1.021 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.971, allocations: 0 / 1.021 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/1.971, allocations: 16 kB / 1.021 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.971, allocations: 8 kB / 1.021 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/1.972, allocations: 355.7 kB / 1.021 GB, free: 126.1 MB / 0.5261 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.002158/1.974, allocations: 1.634 MB / 1.023 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/1.974, allocations: 330.8 kB / 1.023 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/1.975, allocations: 0.6883 MB / 1.024 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/1.975, allocations: 272.2 kB / 1.024 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/1.975, allocations: 0 / 1.024 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0009058/1.976, allocations: 0.4955 MB / 1.025 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/1.976, allocations: 209.6 kB / 1.025 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/1.977, allocations: 389.1 kB / 1.025 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/1.977, allocations: 33.7 kB / 1.025 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.977, allocations: 276 kB / 1.026 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/1.977, allocations: 102.5 kB / 1.026 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/1.977, allocations: 12 kB / 1.026 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/1.977, allocations: 358.8 kB / 1.026 GB, free: 121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.977, allocations: 160.7 kB / 1.026 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/1.978, allocations: 344.4 kB / 1.027 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.978, allocations: 199.3 kB / 1.027 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.978, allocations: 0 / 1.027 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007488/1.979, allocations: 0.5321 MB / 1.027 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.979, allocations: 12.06 kB / 1.027 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.979, allocations: 7.953 kB / 1.027 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.979, allocations: 8 kB / 1.027 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/1.98, allocations: 115.9 kB / 1.027 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003158/1.98, allocations: 0.6289 MB / 1.028 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/1.98, allocations: 67.66 kB / 1.028 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.98, allocations: 23.98 kB / 1.028 GB, free: 118.8 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: printer.firstTrigger:DISCRETE(fixed = true 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 () * 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 (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.0002771/1.981, allocations: 190.9 kB / 1.028 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/1.981, allocations: 55.34 kB / 1.028 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/1.982, allocations: 0.5551 MB / 1.029 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.982, allocations: 12 kB / 1.029 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.982, allocations: 0 / 1.029 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.982, allocations: 7.922 kB / 1.029 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/1.983, allocations: 1.093 MB / 1.03 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.983, allocations: 4 kB / 1.03 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.983, allocations: 83.98 kB / 1.03 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.984, allocations: 0 / 1.03 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.984, allocations: 11.98 kB / 1.03 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002498/1.984, allocations: 0.6249 MB / 1.031 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.984, allocations: 3.953 kB / 1.031 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/1.985, allocations: 0.7553 MB / 1.031 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.985, allocations: 136.3 kB / 1.032 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/1.985, allocations: 8 kB / 1.032 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/1.985, allocations: 39.86 kB / 1.032 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.985, allocations: 19.97 kB / 1.032 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/1.985, allocations: 24.05 kB / 1.032 GB, free: 115 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003041/1.986, allocations: 314.9 kB / 1.032 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.986, allocations: 0 / 1.032 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008552/1.987, allocations: 215.8 kB / 1.032 GB, free: 114.5 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 () * 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 (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.0008344/1.987, allocations: 441.7 kB / 1.033 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008399/1.988, allocations: 416.2 kB / 1.033 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.988, allocations: 0 / 1.033 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/1.989, allocations: 212.4 kB / 1.033 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/1.99, allocations: 218.2 kB / 1.033 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/1.991, allocations: 1.18 MB / 1.035 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.991, allocations: 0.8704 MB / 1.035 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003986/1.992, allocations: 116.2 kB / 1.035 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.992, allocations: 55.41 kB / 1.036 GB, free: 111 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.992, allocations: 0 / 1.036 GB, free: 111 MB / 0.5261 GB Notification: Performance of Templates: time 0.01722/2.009, allocations: 11.45 MB / 1.047 GB, free: 99.62 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)