Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009203, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.875/0.875, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 12 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 82.31 MB / 0.5872 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3913/0.5295, allocations: 140.1 MB / 0.7241 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.5321, allocations: 1.565 MB / 0.7256 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.5324, allocations: 13.34 kB / 0.7256 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.533, allocations: 172.9 kB / 0.7258 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.5343, allocations: 0.5176 MB / 0.7263 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.5356, allocations: 485 kB / 0.7267 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.5362, allocations: 433.2 kB / 0.7271 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.5366, allocations: 183.2 kB / 0.7273 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.5372, allocations: 342.6 kB / 0.7276 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.5374, allocations: 151.3 kB / 0.7278 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.5375, allocations: 11.81 kB / 0.7278 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.5383, allocations: 422.2 kB / 0.7282 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.5384, allocations: 92.48 kB / 0.7283 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.5385, allocations: 83.7 kB / 0.7284 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.5391, allocations: 395.7 kB / 0.7287 GB, free: 6.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5391, allocations: 0 / 0.7287 GB, free: 6.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5391, allocations: 5.594 kB / 0.7288 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.5391, allocations: 4 kB / 0.7288 GB, free: 6.27 MB / 0.545 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.0007808/0.5399, allocations: 0.5823 MB / 0.7293 GB, free: 5.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5399, allocations: 9.781 kB / 0.7293 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.541, allocations: 166 kB / 0.7295 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.5414, allocations: 299.6 kB / 0.7298 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.5415, allocations: 18.06 kB / 0.7298 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5415, allocations: 23.12 kB / 0.7298 GB, free: 5.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.542, allocations: 278.1 kB / 0.7301 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.542, allocations: 7.125 kB / 0.7301 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.542, allocations: 7.453 kB / 0.7301 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.542, allocations: 5.5 kB / 0.7301 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.5424, allocations: 207.7 kB / 0.7303 GB, free: 5.254 MB / 0.545 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.001353/0.5438, allocations: 1.219 MB / 0.7315 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5441, allocations: 144 kB / 0.7316 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.5445, allocations: 135.4 kB / 0.7318 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5445, allocations: 36 kB / 0.7318 GB, free: 4.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5445, allocations: 0 / 0.7318 GB, free: 4.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007467/0.5453, allocations: 301.6 kB / 0.7321 GB, free: 3.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5453, allocations: 53.84 kB / 0.7321 GB, free: 3.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.5456, allocations: 313.5 kB / 0.7324 GB, free: 3.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5457, allocations: 28.27 kB / 0.7325 GB, free: 3.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5458, allocations: 186 kB / 0.7326 GB, free: 3.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.5459, allocations: 52.27 kB / 0.7327 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.5459, allocations: 4 kB / 0.7327 GB, free: 3.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.546, allocations: 343.9 kB / 0.733 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.5462, allocations: 71.2 kB / 0.7331 GB, free: 3.133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.5464, allocations: 125.3 kB / 0.7332 GB, free: 3.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.5465, allocations: 85.84 kB / 0.7333 GB, free: 3.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5465, allocations: 3 kB / 0.7333 GB, free: 3.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004348/0.547, allocations: 256 kB / 0.7335 GB, free: 2.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.547, allocations: 5.984 kB / 0.7335 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.547, allocations: 1.469 kB / 0.7335 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.547, allocations: 3.156 kB / 0.7335 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5472, allocations: 39.42 kB / 0.7336 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5473, allocations: 14.67 kB / 0.7336 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5475, allocations: 44.22 kB / 0.7336 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.5475, allocations: 7.844 kB / 0.7336 GB, free: 2.891 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.5476, allocations: 153.9 kB / 0.7338 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.5477, allocations: 26.56 kB / 0.7338 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.5481, allocations: 232 kB / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5481, allocations: 3.266 kB / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5481, allocations: 0 / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5481, allocations: 0.75 kB / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.5491, allocations: 0.6913 MB / 0.7347 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5491, allocations: 3.344 kB / 0.7347 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5493, allocations: 37.44 kB / 0.7348 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5493, allocations: 2.812 kB / 0.7348 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5493, allocations: 7.578 kB / 0.7348 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.5493, allocations: 2.984 kB / 0.7348 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5493, allocations: 1.969 kB / 0.7348 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.55, allocations: 0.5255 MB / 0.7353 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5501, allocations: 127.4 kB / 0.7354 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.5502, allocations: 2.844 kB / 0.7354 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.5504, allocations: 22 kB / 0.7354 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.5504, allocations: 18.14 kB / 0.7354 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5504, allocations: 9.844 kB / 0.7355 GB, free: 1.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000194/0.5506, allocations: 223.6 kB / 0.7357 GB, free: 1.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5506, allocations: 0 / 0.7357 GB, free: 1.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003764/0.551, allocations: 79.84 kB / 0.7357 GB, free: 1.461 MB / 0.545 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 (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.000342/0.5514, allocations: 171.6 kB / 0.7359 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.5518, allocations: 175.6 kB / 0.7361 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5518, allocations: 4 kB / 0.7361 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.5519, allocations: 98.3 kB / 0.7362 GB, free: 1.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.5527, allocations: 145.6 kB / 0.7363 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.5537, allocations: 0.7113 MB / 0.737 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.554, allocations: 0.786 MB / 0.7378 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.5542, allocations: 65.11 kB / 0.7378 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.5543, allocations: 24.5 kB / 0.7379 GB, free: 36 kB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5543, allocations: 0 / 0.7379 GB, free: 36 kB / 0.545 GB Notification: Performance of Templates: time 0.009688/0.564, allocations: 5.269 MB / 0.743 GB, free: 12.7 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: