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.006657/0.006657, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.001278/0.001278, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.16 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2151, allocations: 80.19 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7244/0.9396, allocations: 167.4 MB / 0.8231 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.9431, allocations: 1.55 MB / 0.8246 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.9435, allocations: 14.84 kB / 0.8246 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.9441, allocations: 148.4 kB / 0.8248 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.9464, allocations: 0.7335 MB / 0.8255 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.9486, allocations: 0.6069 MB / 0.8261 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.9498, allocations: 0.7035 MB / 0.8268 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.9502, allocations: 233.7 kB / 0.827 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.951, allocations: 347.3 kB / 0.8273 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.9513, allocations: 218.5 kB / 0.8275 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.9514, allocations: 24.34 kB / 0.8276 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.9533, allocations: 0.8701 MB / 0.8284 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.9534, allocations: 115.7 kB / 0.8285 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.9537, allocations: 164.6 kB / 0.8287 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.9551, allocations: 0.7266 MB / 0.8294 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9552, allocations: 0 / 0.8294 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9552, allocations: 2.125 kB / 0.8294 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.9552, allocations: 0 / 0.8294 GB, free: 3.477 MB / 0.6387 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.001082/0.9563, allocations: 0.6544 MB / 0.83 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9563, allocations: 10.41 kB / 0.83 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.9576, allocations: 158.2 kB / 0.8302 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.9582, allocations: 320.7 kB / 0.8305 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.9582, allocations: 18.19 kB / 0.8305 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.9583, allocations: 22.69 kB / 0.8305 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.9588, allocations: 274.4 kB / 0.8308 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9588, allocations: 0.7188 kB / 0.8308 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.9588, allocations: 9.844 kB / 0.8308 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.9588, allocations: 13.92 kB / 0.8308 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.9593, allocations: 192.5 kB / 0.831 GB, free: 2.664 MB / 0.6387 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.001377/0.9607, allocations: 1.213 MB / 0.8322 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.961, allocations: 132.1 kB / 0.8323 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.9612, allocations: 93.67 kB / 0.8324 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.9617, allocations: 305.6 kB / 0.8327 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.9617, allocations: 32.81 kB / 0.8327 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9617, allocations: 0 / 0.8327 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0008054/0.9625, allocations: 289.6 kB / 0.833 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.9626, allocations: 54.28 kB / 0.8331 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.9629, allocations: 318.7 kB / 0.8334 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.9629, allocations: 33.28 kB / 0.8334 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9631, allocations: 177.5 kB / 0.8336 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.9631, allocations: 52.38 kB / 0.8336 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.9632, allocations: 46.42 kB / 0.8337 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.9634, allocations: 340.9 kB / 0.834 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.9636, allocations: 61.94 kB / 0.834 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.9638, allocations: 123.5 kB / 0.8342 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.9642, allocations: 197.5 kB / 0.8343 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9642, allocations: 0.9062 kB / 0.8343 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004667/0.9646, allocations: 242.5 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.9647, allocations: 8.125 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9647, allocations: 3.281 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9647, allocations: 3.281 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.9649, allocations: 46.7 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.965, allocations: 3.094 kB / 0.8346 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.9652, allocations: 30.45 kB / 0.8347 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.9652, allocations: 11.81 kB / 0.8347 GB, free: 16.6 MB / 0.6544 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.0001673/0.9654, allocations: 149.2 kB / 0.8348 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.9655, allocations: 34.53 kB / 0.8349 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.9659, allocations: 218.8 kB / 0.8351 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.966, allocations: 2.094 kB / 0.8351 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.966, allocations: 2.281 kB / 0.8351 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.966, allocations: 2.812 kB / 0.8351 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.967, allocations: 0.6775 MB / 0.8357 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.967, allocations: 3.688 kB / 0.8357 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.9672, allocations: 30.84 kB / 0.8358 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9672, allocations: 3.625 kB / 0.8358 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.9672, allocations: 8.469 kB / 0.8358 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.9673, allocations: 4.312 kB / 0.8358 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.9673, allocations: 6.688 kB / 0.8358 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.9679, allocations: 431.1 kB / 0.8362 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.9681, allocations: 126.1 kB / 0.8363 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.9681, allocations: 7.156 kB / 0.8363 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.9683, allocations: 9.094 kB / 0.8363 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.9684, allocations: 20.78 kB / 0.8364 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.9684, allocations: 8.594 kB / 0.8364 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002319/0.9687, allocations: 228.1 kB / 0.8366 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9687, allocations: 0.75 kB / 0.8366 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004673/0.9691, allocations: 72.66 kB / 0.8366 GB, free: 15.66 MB / 0.6544 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.0004396/0.9696, allocations: 176.4 kB / 0.8368 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.97, allocations: 168.4 kB / 0.837 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9701, allocations: 0 / 0.837 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.9703, allocations: 94.72 kB / 0.8371 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.9712, allocations: 165.8 kB / 0.8372 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.9722, allocations: 0.6002 MB / 0.8378 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.9726, allocations: 0.7782 MB / 0.8386 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.9729, allocations: 69.3 kB / 0.8386 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.9729, allocations: 25.45 kB / 0.8387 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.9729, allocations: 1.344 kB / 0.8387 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.01081/0.9838, allocations: 5.766 MB / 0.8443 GB, free: 14.35 MB / 0.6544 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)