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.0009644/0.0009642, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001212/0.001212, allocations: 172.7 kB / 15.95 MB, free: 208 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.3 MB / 423.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 8.75 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 81.59 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1557/0.505, allocations: 152 MB / 0.7315 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.5075, allocations: 1.488 MB / 0.733 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.5078, allocations: 11.94 kB / 0.733 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.5083, allocations: 99.22 kB / 0.7331 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.5096, allocations: 0.5053 MB / 0.7336 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.5108, allocations: 453.5 kB / 0.734 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.5118, allocations: 0.8299 MB / 0.7348 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.5122, allocations: 173.2 kB / 0.735 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.5128, allocations: 306.8 kB / 0.7353 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.5132, allocations: 223.1 kB / 0.7355 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.5132, allocations: 16 kB / 0.7355 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.5143, allocations: 458.8 kB / 0.736 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.5144, allocations: 95.73 kB / 0.736 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.5145, allocations: 89.52 kB / 0.7361 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.5151, allocations: 435 kB / 0.7365 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5151, allocations: 0 / 0.7365 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5151, allocations: 0 / 0.7365 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.5152, allocations: 0 / 0.7365 GB, free: 3.039 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.0008449/0.516, allocations: 0.6038 MB / 0.7371 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.516, allocations: 8.031 kB / 0.7371 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5172, allocations: 159.4 kB / 0.7373 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5176, allocations: 293.9 kB / 0.7376 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5177, allocations: 20.44 kB / 0.7376 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.5177, allocations: 28 kB / 0.7376 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.5182, allocations: 271.5 kB / 0.7379 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5182, allocations: 0 / 0.7379 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.5183, allocations: 12 kB / 0.7379 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5183, allocations: 8 kB / 0.7379 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.5187, allocations: 207.7 kB / 0.7381 GB, free: 1.34 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.001349/0.5201, allocations: 1.221 MB / 0.7393 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.5203, allocations: 138.5 kB / 0.7394 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.5205, allocations: 100.8 kB / 0.7395 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/0.5211, allocations: 315.2 kB / 0.7398 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5211, allocations: 38.5 kB / 0.7399 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5211, allocations: 0 / 0.7399 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007548/0.5219, allocations: 297.3 kB / 0.7401 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5219, allocations: 55.41 kB / 0.7402 GB, free: 15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.5223, allocations: 316.5 kB / 0.7405 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5223, allocations: 25.7 kB / 0.7405 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5224, allocations: 188 kB / 0.7407 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.5225, allocations: 55.3 kB / 0.7408 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.5225, allocations: 4 kB / 0.7408 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5226, allocations: 342.8 kB / 0.7411 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5228, allocations: 67.95 kB / 0.7411 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.523, allocations: 133.1 kB / 0.7413 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.5232, allocations: 79.91 kB / 0.7414 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5232, allocations: 0 / 0.7414 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000483/0.5237, allocations: 249.1 kB / 0.7416 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5237, allocations: 8 kB / 0.7416 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5238, allocations: 0 / 0.7416 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5238, allocations: 4 kB / 0.7416 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.524, allocations: 48.06 kB / 0.7416 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.524, allocations: 3.938 kB / 0.7417 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.5242, allocations: 39.67 kB / 0.7417 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.5243, allocations: 8 kB / 0.7417 GB, free: 13.4 MB / 0.5762 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.0001323/0.5244, allocations: 149.8 kB / 0.7418 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5245, allocations: 35.72 kB / 0.7419 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5249, allocations: 224.2 kB / 0.7421 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.525, allocations: 4.141 kB / 0.7421 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.525, allocations: 3.984 kB / 0.7421 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.525, allocations: 4 kB / 0.7421 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.526, allocations: 0.6913 MB / 0.7428 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.526, allocations: 0 / 0.7428 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5262, allocations: 39.91 kB / 0.7428 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5262, allocations: 4 kB / 0.7428 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.5262, allocations: 0 / 0.7428 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.5262, allocations: 8.172 kB / 0.7428 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5262, allocations: 8 kB / 0.7428 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.5269, allocations: 444 kB / 0.7433 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.527, allocations: 124.6 kB / 0.7434 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.527, allocations: 12.06 kB / 0.7434 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.5272, allocations: 23.92 kB / 0.7434 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.5273, allocations: 23.88 kB / 0.7434 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5273, allocations: 4 kB / 0.7434 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000217/0.5275, allocations: 227 kB / 0.7437 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5276, allocations: 4 kB / 0.7437 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004039/0.528, allocations: 83.91 kB / 0.7437 GB, free: 11.17 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 (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.000357/0.5283, allocations: 156.5 kB / 0.7439 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.5288, allocations: 187.8 kB / 0.7441 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5288, allocations: 0 / 0.7441 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.529, allocations: 92.45 kB / 0.7442 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.5298, allocations: 158.5 kB / 0.7443 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/0.5308, allocations: 0.7081 MB / 0.745 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5311, allocations: 0.7758 MB / 0.7458 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000238/0.5314, allocations: 71.14 kB / 0.7458 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.5314, allocations: 23.44 kB / 0.7458 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5314, allocations: 0 / 0.7458 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.009522/0.541, allocations: 5.266 MB / 0.751 GB, free: 3.781 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)