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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 99.86 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.0008565/0.0008565, 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8471/0.8471, allocations: 135.2 MB / 426.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003095, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 82.3 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3755/0.5269, allocations: 140.1 MB / 0.724 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.5296, allocations: 1.576 MB / 0.7256 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5298, allocations: 8.688 kB / 0.7256 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.5304, allocations: 181.6 kB / 0.7258 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.5317, allocations: 0.5139 MB / 0.7263 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.5329, allocations: 488.4 kB / 0.7267 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.5335, allocations: 433 kB / 0.7271 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.5338, allocations: 189.4 kB / 0.7273 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.5345, allocations: 331.6 kB / 0.7276 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.5347, allocations: 150.5 kB / 0.7278 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.5347, allocations: 13.31 kB / 0.7278 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.5357, allocations: 425.9 kB / 0.7282 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5358, allocations: 88.58 kB / 0.7283 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.5359, allocations: 89.86 kB / 0.7284 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.5365, allocations: 398 kB / 0.7288 GB, free: 6.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5365, allocations: 0 / 0.7288 GB, free: 6.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5365, allocations: 0 / 0.7288 GB, free: 6.234 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5365, allocations: 0 / 0.7288 GB, free: 6.234 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.0007942/0.5373, allocations: 0.5839 MB / 0.7293 GB, free: 5.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5373, allocations: 12.59 kB / 0.7293 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5385, allocations: 166.6 kB / 0.7295 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.5389, allocations: 291.6 kB / 0.7298 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.5389, allocations: 18.89 kB / 0.7298 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.539, allocations: 26.81 kB / 0.7298 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.5395, allocations: 277.8 kB / 0.7301 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5395, allocations: 0 / 0.7301 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.5395, allocations: 10.69 kB / 0.7301 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5396, allocations: 6.969 kB / 0.7301 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.54, allocations: 212.2 kB / 0.7303 GB, free: 5.215 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.001346/0.5413, allocations: 1.218 MB / 0.7315 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.5416, allocations: 136.9 kB / 0.7316 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.542, allocations: 134.3 kB / 0.7317 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.542, allocations: 36.64 kB / 0.7318 GB, free: 4.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.542, allocations: 0 / 0.7318 GB, free: 4.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007539/0.5428, allocations: 299.5 kB / 0.7321 GB, free: 3.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5428, allocations: 53.64 kB / 0.7321 GB, free: 3.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.5431, allocations: 308.8 kB / 0.7324 GB, free: 3.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.5432, allocations: 30.89 kB / 0.7324 GB, free: 3.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5433, allocations: 192 kB / 0.7326 GB, free: 3.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.5433, allocations: 53.83 kB / 0.7327 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.5434, allocations: 1.438 kB / 0.7327 GB, free: 3.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5435, allocations: 343.8 kB / 0.733 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5436, allocations: 71.88 kB / 0.7331 GB, free: 3.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.5438, allocations: 128.8 kB / 0.7332 GB, free: 3.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.544, allocations: 84.95 kB / 0.7333 GB, free: 2.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.544, allocations: 7.938 kB / 0.7333 GB, free: 2.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004118/0.5444, allocations: 249.6 kB / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5445, allocations: 7.156 kB / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5445, allocations: 0 / 0.7335 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5445, allocations: 6.812 kB / 0.7335 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.5447, allocations: 40.12 kB / 0.7336 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5447, allocations: 3.781 kB / 0.7336 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.5449, allocations: 44.7 kB / 0.7336 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.5449, allocations: 10.39 kB / 0.7336 GB, free: 2.855 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.0001387/0.5451, allocations: 154.9 kB / 0.7338 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.5451, allocations: 27.69 kB / 0.7338 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.5456, allocations: 235.2 kB / 0.734 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5456, allocations: 2 kB / 0.734 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5456, allocations: 8.453 kB / 0.734 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5456, allocations: 0.7031 kB / 0.734 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009561/0.5466, allocations: 0.6843 MB / 0.7347 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5466, allocations: 2.688 kB / 0.7347 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.5467, allocations: 40.17 kB / 0.7348 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5468, allocations: 2.656 kB / 0.7348 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5468, allocations: 3.656 kB / 0.7348 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.5468, allocations: 7.312 kB / 0.7348 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5468, allocations: 2.656 kB / 0.7348 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.5474, allocations: 0.5231 MB / 0.7353 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.5476, allocations: 124.3 kB / 0.7354 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.5476, allocations: 5.562 kB / 0.7354 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.5478, allocations: 31.09 kB / 0.7354 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5478, allocations: 9.984 kB / 0.7354 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5479, allocations: 7.5 kB / 0.7354 GB, free: 1.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001905/0.5481, allocations: 226.8 kB / 0.7357 GB, free: 1.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5481, allocations: 0 / 0.7357 GB, free: 1.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003714/0.5484, allocations: 82.97 kB / 0.7357 GB, free: 1.422 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.0003193/0.5488, allocations: 169 kB / 0.7359 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.5492, allocations: 176.2 kB / 0.7361 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5492, allocations: 0 / 0.7361 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.5493, allocations: 95.25 kB / 0.7362 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.5501, allocations: 156.7 kB / 0.7363 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.551, allocations: 0.7102 MB / 0.737 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5513, allocations: 0.7865 MB / 0.7378 GB, free: 20 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.5515, allocations: 69.92 kB / 0.7378 GB, free: 0 / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.5516, allocations: 25.66 kB / 0.7379 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5516, allocations: 0 / 0.7379 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.00829/0.5599, allocations: 5.267 MB / 0.743 GB, free: 12.66 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: