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.5975/0.5975, allocations: 94.7 MB / 107.3 MB, free: 5.18 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.001204/0.001204, allocations: 182.5 kB / 130.7 MB, free: 7.543 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.899/1.899, allocations: 170.5 MB / 324.5 MB, free: 3.988 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.001984/0.001984, allocations: 110.4 kB / 386.6 MB, free: 16.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.048e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5956/0.5957, allocations: 61.5 MB / 0.5054 GB, free: 49.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.95/1.546, allocations: 375.2 MB / 0.8718 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/1.546, allocations: 85.48 kB / 0.8718 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7659/2.312, allocations: 143.6 MB / 1.012 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.048e-06/2.312, allocations: 0 / 1.012 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.919e-05/2.312, allocations: 8 kB / 1.012 GB, free: 100.4 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.001678/2.314, allocations: 0.7795 MB / 1.013 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/2.314, allocations: 11.97 kB / 1.013 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/2.314, allocations: 67.86 kB / 1.013 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/2.315, allocations: 434.9 kB / 1.013 GB, free: 99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/2.315, allocations: 32.78 kB / 1.013 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/2.315, allocations: 47.95 kB / 1.013 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/2.316, allocations: 433.4 kB / 1.014 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/2.316, allocations: 0 / 1.014 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/2.316, allocations: 16 kB / 1.014 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/2.316, allocations: 12 kB / 1.014 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/2.316, allocations: 303 kB / 1.014 GB, free: 98.16 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.00238/2.319, allocations: 1.625 MB / 1.016 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/2.319, allocations: 315.3 kB / 1.016 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/2.32, allocations: 124.8 kB / 1.016 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/2.32, allocations: 0.6927 MB / 1.017 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/2.321, allocations: 253.1 kB / 1.017 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/2.321, allocations: 0 / 1.017 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0006541/2.321, allocations: 346.2 kB / 1.017 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/2.321, allocations: 213.6 kB / 1.018 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/2.322, allocations: 383.9 kB / 1.018 GB, free: 93.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/2.322, allocations: 33.7 kB / 1.018 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/2.322, allocations: 272 kB / 1.018 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/2.322, allocations: 106.4 kB / 1.018 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/2.322, allocations: 12 kB / 1.018 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002021/2.322, allocations: 362.8 kB / 1.019 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/2.323, allocations: 140.8 kB / 1.019 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/2.323, allocations: 325.1 kB / 1.019 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/2.323, allocations: 171.8 kB / 1.019 GB, free: 92.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.323, allocations: 0 / 1.019 GB, free: 92.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007081/2.324, allocations: 0.4889 MB / 1.02 GB, free: 91.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/2.324, allocations: 11.95 kB / 1.02 GB, free: 91.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.324, allocations: 4 kB / 1.02 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/2.324, allocations: 8.469 kB / 1.02 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/2.325, allocations: 127.8 kB / 1.02 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004235/2.325, allocations: 0.6249 MB / 1.021 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/2.326, allocations: 71.59 kB / 1.021 GB, free: 91.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/2.326, allocations: 27.98 kB / 1.021 GB, free: 91.04 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.0002212/2.326, allocations: 143.3 kB / 1.021 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/2.326, allocations: 47.44 kB / 1.021 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/2.327, allocations: 0.5237 MB / 1.021 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/2.327, allocations: 7.984 kB / 1.021 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/2.327, allocations: 4 kB / 1.021 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.327, allocations: 0 / 1.021 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/2.328, allocations: 1.058 MB / 1.022 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.328, allocations: 4 kB / 1.022 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/2.329, allocations: 83.89 kB / 1.022 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/2.329, allocations: 4 kB / 1.022 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/2.329, allocations: 20 kB / 1.022 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002999/2.329, allocations: 0.6211 MB / 1.023 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.329, allocations: 0 / 1.023 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/2.33, allocations: 0.7083 MB / 1.024 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/2.33, allocations: 132.4 kB / 1.024 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/2.33, allocations: 11.95 kB / 1.024 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/2.331, allocations: 35.84 kB / 1.024 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/2.331, allocations: 23.97 kB / 1.024 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/2.331, allocations: 24.05 kB / 1.024 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003099/2.331, allocations: 305.6 kB / 1.024 GB, free: 87.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.331, allocations: 4 kB / 1.024 GB, free: 87.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000942/2.332, allocations: 215.8 kB / 1.024 GB, free: 86.94 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.0009712/2.333, allocations: 429.3 kB / 1.025 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000785/2.334, allocations: 380.1 kB / 1.025 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.334, allocations: 0 / 1.025 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/2.334, allocations: 196.3 kB / 1.025 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/2.335, allocations: 212.8 kB / 1.026 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/2.336, allocations: 0.7058 MB / 1.026 GB, free: 85.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/2.337, allocations: 0.8704 MB / 1.027 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003829/2.337, allocations: 120.2 kB / 1.027 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/2.337, allocations: 51.36 kB / 1.027 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/2.337, allocations: 0 / 1.027 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.01988/2.357, allocations: 11.79 MB / 1.039 GB, free: 72.27 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)