Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008677, 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.0009094/0.0009095, allocations: 177.3 kB / 15.94 MB, free: 228 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.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8685/0.8685, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 12 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.3809/0.5296, allocations: 141.8 MB / 0.7256 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006919/0.5365, allocations: 5.991 MB / 0.7315 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.5369, allocations: 17.75 kB / 0.7315 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.5378, allocations: 221 kB / 0.7317 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.5397, allocations: 0.5203 MB / 0.7322 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5413, allocations: 443.1 kB / 0.7327 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.542, allocations: 437 kB / 0.7331 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.5423, allocations: 205.4 kB / 0.7333 GB, free: 2.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.5428, allocations: 256 kB / 0.7335 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.543, allocations: 134.8 kB / 0.7336 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.543, allocations: 11 kB / 0.7337 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.5439, allocations: 387.9 kB / 0.734 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.5441, allocations: 90.62 kB / 0.7341 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.5441, allocations: 77.52 kB / 0.7342 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.5446, allocations: 346 kB / 0.7345 GB, free: 2.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5447, allocations: 0 / 0.7345 GB, free: 2.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5447, allocations: 3.938 kB / 0.7345 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5447, allocations: 3 kB / 0.7345 GB, free: 2.164 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007477/0.5454, allocations: 0.5675 MB / 0.7351 GB, free: 1.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.5455, allocations: 10.31 kB / 0.7351 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.5458, allocations: 67.25 kB / 0.7351 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.5462, allocations: 290.2 kB / 0.7354 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.5462, allocations: 18.69 kB / 0.7354 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.5463, allocations: 23.91 kB / 0.7355 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.5467, allocations: 313.4 kB / 0.7358 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5467, allocations: 7.953 kB / 0.7358 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.5468, allocations: 6.719 kB / 0.7358 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.5468, allocations: 7.469 kB / 0.7358 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.5471, allocations: 180.4 kB / 0.736 GB, free: 1.121 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.001629/0.5488, allocations: 1.707 MB / 0.7376 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.549, allocations: 108.7 kB / 0.7377 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.5491, allocations: 10.7 kB / 0.7377 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.5491, allocations: 31.17 kB / 0.7378 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.5491, allocations: 0 / 0.7378 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006621/0.5498, allocations: 249 kB / 0.738 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5498, allocations: 52.02 kB / 0.7381 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.5501, allocations: 319.6 kB / 0.7384 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.5502, allocations: 28.64 kB / 0.7384 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5503, allocations: 194.4 kB / 0.7386 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.5503, allocations: 44.98 kB / 0.7386 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.5504, allocations: 4 kB / 0.7386 GB, free: 15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5505, allocations: 336.8 kB / 0.7389 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5506, allocations: 59.06 kB / 0.739 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.5508, allocations: 194.8 kB / 0.7392 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.551, allocations: 89.28 kB / 0.7393 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.551, allocations: 3.188 kB / 0.7393 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004401/0.5515, allocations: 262.1 kB / 0.7395 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004799/0.552, allocations: 1.401 MB / 0.7409 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.552, allocations: 5.188 kB / 0.7409 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.552, allocations: 3.469 kB / 0.7409 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.5522, allocations: 53.09 kB / 0.7409 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.5522, allocations: 15.58 kB / 0.741 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.5524, allocations: 39.89 kB / 0.741 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.5525, allocations: 15.34 kB / 0.741 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.5525, allocations: 8.516 kB / 0.741 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003528/0.5529, allocations: 197.7 kB / 0.7412 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5529, allocations: 7.766 kB / 0.7412 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.319e-06/0.5529, allocations: 5.75 kB / 0.7412 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.553, allocations: 49.08 kB / 0.7413 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5531, allocations: 13.22 kB / 0.7413 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.5533, allocations: 40.02 kB / 0.7413 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.5533, allocations: 15.59 kB / 0.7413 GB, free: 12.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001461/0.5535, allocations: 233.7 kB / 0.7416 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.5535, allocations: 27.33 kB / 0.7416 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.5539, allocations: 185.8 kB / 0.7418 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5539, allocations: 0 / 0.7418 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5539, allocations: 4 kB / 0.7418 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5539, allocations: 0 / 0.7418 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/0.5547, allocations: 0.6205 MB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5547, allocations: 1.125 kB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5548, allocations: 27.3 kB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5548, allocations: 3.531 kB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5549, allocations: 8.062 kB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5549, allocations: 0 / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5549, allocations: 10.52 kB / 0.7424 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.5553, allocations: 395.2 kB / 0.7428 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5554, allocations: 118.2 kB / 0.7429 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.5554, allocations: 2.812 kB / 0.7429 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5556, allocations: 20.52 kB / 0.7429 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5557, allocations: 16.95 kB / 0.7429 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5557, allocations: 6 kB / 0.743 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001868/0.5559, allocations: 226.1 kB / 0.7432 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5559, allocations: 0 / 0.7432 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005209/0.5564, allocations: 138.3 kB / 0.7433 GB, free: 11.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0003017/0.5567, allocations: 170.4 kB / 0.7435 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.5572, allocations: 253.6 kB / 0.7437 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5572, allocations: 0 / 0.7437 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.5574, allocations: 72.83 kB / 0.7438 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.5581, allocations: 136.2 kB / 0.7439 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.5589, allocations: 0.5807 MB / 0.7445 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.5593, allocations: 0.7875 MB / 0.7452 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.5596, allocations: 77.16 kB / 0.7453 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.5597, allocations: 28.28 kB / 0.7453 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5597, allocations: 0 / 0.7453 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.008046/0.5677, allocations: 4.573 MB / 0.7498 GB, free: 5.516 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: