Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2951/0.2951, allocations: 54.33 MB / 66.89 MB, free: 6.086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001188/0.001188, allocations: 182.1 kB / 80.7 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.794/1.794, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001621/0.001621, allocations: 115.9 kB / 346.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.525e-05, allocations: 7.984 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1769, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/6.483, allocations: 2.12 GB / 2.579 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/6.483, allocations: 87.95 kB / 2.579 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8296/7.313, allocations: 238.8 MB / 2.812 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.896e-06/7.313, allocations: 0 / 2.812 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.725e-05/7.313, allocations: 13.69 kB / 2.812 GB, free: 111.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001833/7.315, allocations: 0.7212 MB / 2.813 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/7.315, allocations: 9.094 kB / 2.813 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/7.316, allocations: 150.3 kB / 2.813 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/7.317, allocations: 351.8 kB / 2.813 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/7.317, allocations: 28.08 kB / 2.813 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/7.317, allocations: 43.3 kB / 2.813 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/7.318, allocations: 385.2 kB / 2.814 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/7.318, allocations: 0 / 2.814 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/7.318, allocations: 20.41 kB / 2.814 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/7.318, allocations: 10 kB / 2.814 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/7.318, allocations: 272.3 kB / 2.814 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/7.321, allocations: 1.471 MB / 2.815 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/7.321, allocations: 113 kB / 2.815 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/7.321, allocations: 62.83 kB / 2.815 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/7.321, allocations: 110.8 kB / 2.816 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/7.321, allocations: 37.22 kB / 2.816 GB, free: 110 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/7.321, allocations: 0 / 2.816 GB, free: 110 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003767/7.322, allocations: 180.7 kB / 2.816 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/7.322, allocations: 51.41 kB / 2.816 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/7.322, allocations: 386 kB / 2.816 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/7.322, allocations: 28.95 kB / 2.816 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/7.322, allocations: 236.1 kB / 2.816 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/7.322, allocations: 55.3 kB / 2.817 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/7.322, allocations: 3.875 kB / 2.817 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/7.323, allocations: 346.6 kB / 2.817 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/7.323, allocations: 67.75 kB / 2.817 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/7.323, allocations: 147.5 kB / 2.817 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/7.323, allocations: 97.23 kB / 2.817 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/7.323, allocations: 0 / 2.817 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004102/7.323, allocations: 281.9 kB / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/7.323, allocations: 7.594 kB / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/7.323, allocations: 0 / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/7.323, allocations: 7.719 kB / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/7.324, allocations: 60.17 kB / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/7.324, allocations: 9.859 kB / 2.817 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/7.324, allocations: 54.77 kB / 2.818 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/7.324, allocations: 11.12 kB / 2.818 GB, free: 109.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/7.324, allocations: 128.2 kB / 2.818 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/7.324, allocations: 39.41 kB / 2.818 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/7.325, allocations: 193 kB / 2.818 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/7.325, allocations: 0 / 2.818 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/7.325, allocations: 0 / 2.818 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/7.325, allocations: 0 / 2.818 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/7.325, allocations: 0.6828 MB / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/7.325, allocations: 0 / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/7.326, allocations: 37.67 kB / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/7.326, allocations: 1.969 kB / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/7.326, allocations: 10.44 kB / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/7.326, allocations: 3.906 kB / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.326, allocations: 128 / 2.819 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/7.326, allocations: 462.2 kB / 2.819 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/7.326, allocations: 147.5 kB / 2.819 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/7.326, allocations: 3.688 kB / 2.819 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/7.327, allocations: 28.88 kB / 2.819 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/7.327, allocations: 21.75 kB / 2.819 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/7.327, allocations: 11.03 kB / 2.819 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002913/7.327, allocations: 306.9 kB / 2.82 GB, free: 108 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.327, allocations: 6.578 kB / 2.82 GB, free: 108 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008159/7.328, allocations: 202.9 kB / 2.82 GB, free: 108 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/7.33, allocations: 1.043 MB / 2.821 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003204/7.33, allocations: 161.8 kB / 2.821 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.33, allocations: 3.938 kB / 2.821 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/7.33, allocations: 71.97 kB / 2.821 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/7.331, allocations: 228.6 kB / 2.821 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/7.332, allocations: 0.4969 MB / 2.822 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/7.333, allocations: 0.8213 MB / 2.823 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003759/7.333, allocations: 74.08 kB / 2.823 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/7.333, allocations: 36.67 kB / 2.823 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/7.333, allocations: 2.594 kB / 2.823 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.03228/7.365, allocations: 23.14 MB / 2.845 GB, free: 99.39 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)