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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009918/0.000992, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001038/0.001038, allocations: 191.7 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 64.19 kB / 0.5013 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1487, allocations: 80.21 MB / 0.5796 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4848/0.6335, allocations: 165.1 MB / 0.7408 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.6364, allocations: 1.533 MB / 0.7423 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.6367, allocations: 11.06 kB / 0.7423 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.6372, allocations: 126.7 kB / 0.7425 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.6392, allocations: 0.6645 MB / 0.7431 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.6408, allocations: 0.5604 MB / 0.7436 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.6416, allocations: 0.6983 MB / 0.7443 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.6419, allocations: 233.5 kB / 0.7446 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.6425, allocations: 336.7 kB / 0.7449 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.6428, allocations: 242 kB / 0.7451 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.6428, allocations: 26.72 kB / 0.7451 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.6442, allocations: 0.8916 MB / 0.746 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.6443, allocations: 114.9 kB / 0.7461 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.6445, allocations: 157.7 kB / 0.7463 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.6455, allocations: 0.7829 MB / 0.747 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6455, allocations: 0 / 0.747 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6455, allocations: 0 / 0.747 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6455, allocations: 0 / 0.747 GB, free: 6.566 MB / 0.5606 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.0009098/0.6464, allocations: 0.6569 MB / 0.7477 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6465, allocations: 7.656 kB / 0.7477 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6476, allocations: 155.7 kB / 0.7478 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.648, allocations: 308.2 kB / 0.7481 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.648, allocations: 15.81 kB / 0.7481 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.6481, allocations: 23.16 kB / 0.7482 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.6486, allocations: 277 kB / 0.7484 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6486, allocations: 0 / 0.7484 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6486, allocations: 10.12 kB / 0.7484 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6486, allocations: 9.188 kB / 0.7484 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.649, allocations: 197.5 kB / 0.7486 GB, free: 5.316 MB / 0.5606 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.001421/0.6505, allocations: 1.217 MB / 0.7498 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.6507, allocations: 131.9 kB / 0.7499 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6509, allocations: 95.33 kB / 0.75 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.6516, allocations: 301.4 kB / 0.7503 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6516, allocations: 41.44 kB / 0.7504 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.6516, allocations: 0 / 0.7504 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007363/0.6524, allocations: 276.5 kB / 0.7506 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.6524, allocations: 51.41 kB / 0.7507 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.6527, allocations: 316.3 kB / 0.751 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6527, allocations: 32.02 kB / 0.751 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.6529, allocations: 179.7 kB / 0.7512 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.6529, allocations: 59.41 kB / 0.7512 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.653, allocations: 45.2 kB / 0.7513 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6531, allocations: 338.2 kB / 0.7516 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.6533, allocations: 66.83 kB / 0.7517 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.6535, allocations: 129.3 kB / 0.7518 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.6538, allocations: 186.9 kB / 0.752 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6538, allocations: 0 / 0.752 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004283/0.6543, allocations: 243 kB / 0.7522 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6543, allocations: 4 kB / 0.7522 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6543, allocations: 4 kB / 0.7522 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6543, allocations: 2.875 kB / 0.7522 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.6545, allocations: 43.91 kB / 0.7522 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6545, allocations: 4 kB / 0.7522 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.6548, allocations: 35.77 kB / 0.7523 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.6548, allocations: 12 kB / 0.7523 GB, free: 2.129 MB / 0.5606 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.0001379/0.6549, allocations: 157.7 kB / 0.7524 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.655, allocations: 27.72 kB / 0.7525 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.6554, allocations: 215.2 kB / 0.7527 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6555, allocations: 7.984 kB / 0.7527 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6555, allocations: 0 / 0.7527 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6555, allocations: 4 kB / 0.7527 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009371/0.6564, allocations: 0.6835 MB / 0.7534 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6564, allocations: 4 kB / 0.7534 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6566, allocations: 31.97 kB / 0.7534 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6566, allocations: 7.875 kB / 0.7534 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6566, allocations: 4 kB / 0.7534 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.6566, allocations: 10.94 kB / 0.7534 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6567, allocations: 4 kB / 0.7534 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.6573, allocations: 433.1 kB / 0.7538 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6574, allocations: 128.6 kB / 0.754 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6574, allocations: 8 kB / 0.754 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.6576, allocations: 11.98 kB / 0.754 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.6577, allocations: 11.98 kB / 0.754 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.6577, allocations: 8 kB / 0.754 GB, free: 252 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001994/0.6579, allocations: 231.1 kB / 0.7542 GB, free: 20 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6579, allocations: 3.938 kB / 0.7542 GB, free: 16 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004027/0.6583, allocations: 76.08 kB / 0.7543 GB, free: 15.94 MB / 0.5762 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.0003698/0.6587, allocations: 168.9 kB / 0.7544 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.6591, allocations: 175.8 kB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6591, allocations: 0 / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.6593, allocations: 87.83 kB / 0.7547 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.6602, allocations: 182.3 kB / 0.7549 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.6611, allocations: 0.6901 MB / 0.7555 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6614, allocations: 0.7756 MB / 0.7563 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.6617, allocations: 63.67 kB / 0.7564 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.6617, allocations: 31.44 kB / 0.7564 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6617, allocations: 0 / 0.7564 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of Templates: time 0.009852/0.6716, allocations: 5.633 MB / 0.7619 GB, free: 8.223 MB / 0.5762 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)