Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7442/0.7442, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 403.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.36 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 59.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1402, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5812/0.7214, allocations: 165.1 MB / 0.8014 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.724, allocations: 1.559 MB / 0.8029 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.7243, allocations: 15.88 kB / 0.8029 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.7247, allocations: 115.2 kB / 0.803 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.7262, allocations: 0.6731 MB / 0.8037 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.7275, allocations: 0.54 MB / 0.8042 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008828/0.7284, allocations: 0.982 MB / 0.8052 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.7287, allocations: 198.8 kB / 0.8054 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.7293, allocations: 314.7 kB / 0.8057 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.7295, allocations: 231.1 kB / 0.8059 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.7296, allocations: 12 kB / 0.8059 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.7312, allocations: 1.009 MB / 0.8069 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.7313, allocations: 103.6 kB / 0.807 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.7315, allocations: 151.2 kB / 0.8071 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.7326, allocations: 0.7751 MB / 0.8079 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7326, allocations: 4 kB / 0.8079 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.32e-07/0.7326, allocations: 4 kB / 0.8079 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7327, allocations: 0 / 0.8079 GB, free: 7.438 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009655/0.7336, allocations: 0.6387 MB / 0.8085 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7337, allocations: 12.03 kB / 0.8085 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.7347, allocations: 155.4 kB / 0.8087 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.7352, allocations: 305.6 kB / 0.809 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7352, allocations: 20.44 kB / 0.809 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.7353, allocations: 24 kB / 0.809 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.7357, allocations: 275.4 kB / 0.8093 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7358, allocations: 0 / 0.8093 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.7358, allocations: 12.88 kB / 0.8093 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.7358, allocations: 4 kB / 0.8093 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.7362, allocations: 203.8 kB / 0.8095 GB, free: 5.699 MB / 0.5417 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.001354/0.7376, allocations: 1.205 MB / 0.8107 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.7379, allocations: 138.5 kB / 0.8108 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.7381, allocations: 99.61 kB / 0.8109 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.7387, allocations: 311.2 kB / 0.8112 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.7387, allocations: 30.56 kB / 0.8112 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.7387, allocations: 0 / 0.8112 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0007594/0.7395, allocations: 278.8 kB / 0.8115 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.7395, allocations: 51.41 kB / 0.8115 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.7399, allocations: 320.5 kB / 0.8118 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.7399, allocations: 25.7 kB / 0.8119 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.74, allocations: 188.1 kB / 0.812 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.7401, allocations: 51.2 kB / 0.8121 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.7402, allocations: 45.7 kB / 0.8121 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7403, allocations: 334.8 kB / 0.8125 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.7405, allocations: 67.95 kB / 0.8125 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.7407, allocations: 125 kB / 0.8126 GB, free: 2.219 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.7411, allocations: 195.6 kB / 0.8128 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7411, allocations: 3.938 kB / 0.8128 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004682/0.7416, allocations: 241.1 kB / 0.8131 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.7416, allocations: 9.094 kB / 0.8131 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7416, allocations: 0 / 0.8131 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7417, allocations: 4 kB / 0.8131 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.7419, allocations: 44 kB / 0.8131 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7419, allocations: 6.188 kB / 0.8131 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.7421, allocations: 35.77 kB / 0.8132 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.7422, allocations: 8 kB / 0.8132 GB, free: 1.664 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.7423, allocations: 159 kB / 0.8133 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.7424, allocations: 27.62 kB / 0.8133 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.7429, allocations: 217.7 kB / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.7429, allocations: 0 / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7429, allocations: 3.875 kB / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7429, allocations: 0 / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.7439, allocations: 0.6912 MB / 0.8142 GB, free: 500 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7439, allocations: 0 / 0.8142 GB, free: 500 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.7441, allocations: 31.92 kB / 0.8143 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.7441, allocations: 7.938 kB / 0.8143 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.7441, allocations: 11.98 kB / 0.8143 GB, free: 448 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7442, allocations: 4.219 kB / 0.8143 GB, free: 444 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7442, allocations: 4 kB / 0.8143 GB, free: 440 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.7486, allocations: 2.023 MB / 0.8163 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.7488, allocations: 120.7 kB / 0.8164 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.7489, allocations: 4 kB / 0.8164 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.7491, allocations: 24.02 kB / 0.8164 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.7491, allocations: 16.02 kB / 0.8164 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.7492, allocations: 7.938 kB / 0.8164 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002324/0.7494, allocations: 227 kB / 0.8166 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7494, allocations: 0 / 0.8166 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005446/0.7499, allocations: 111.9 kB / 0.8168 GB, free: 13.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004375/0.7504, allocations: 174.9 kB / 0.8169 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.7508, allocations: 163.7 kB / 0.8171 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7508, allocations: 0 / 0.8171 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.751, allocations: 96 kB / 0.8172 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.7519, allocations: 155 kB / 0.8173 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7532, allocations: 0.841 MB / 0.8181 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.7535, allocations: 0.7797 MB / 0.8189 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.7538, allocations: 67.14 kB / 0.819 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.7539, allocations: 23.44 kB / 0.819 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.7539, allocations: 3.938 kB / 0.819 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.01017/0.764, allocations: 5.598 MB / 0.8245 GB, free: 5.844 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)