Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001295/0.001295, allocations: 103.4 kB / 15.33 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.001254/0.001254, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9193/0.9193, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 66.86 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.163, allocations: 81.03 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4321/0.5951, allocations: 165.1 MB / 0.7457 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.598, allocations: 1.54 MB / 0.7472 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.5983, allocations: 14.03 kB / 0.7472 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.5988, allocations: 119.2 kB / 0.7473 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.6006, allocations: 0.6689 MB / 0.748 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.6022, allocations: 0.5537 MB / 0.7485 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.6029, allocations: 0.7057 MB / 0.7492 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.6033, allocations: 230 kB / 0.7494 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.6039, allocations: 341.4 kB / 0.7498 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.6041, allocations: 230.6 kB / 0.75 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.6042, allocations: 22.41 kB / 0.75 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.6056, allocations: 0.8957 MB / 0.7509 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.6057, allocations: 112.2 kB / 0.751 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.6059, allocations: 174.1 kB / 0.7512 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.6069, allocations: 0.7764 MB / 0.7519 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.607, allocations: 2.875 kB / 0.7519 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.607, allocations: 0 / 0.7519 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.607, allocations: 0 / 0.7519 GB, free: 0.7148 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.0009672/0.608, allocations: 0.6472 MB / 0.7525 GB, free: 144 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.608, allocations: 10.84 kB / 0.7526 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.6091, allocations: 154.5 kB / 0.7527 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.6096, allocations: 314.8 kB / 0.753 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6096, allocations: 19.28 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.6096, allocations: 20.97 kB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.6101, allocations: 278.1 kB / 0.7533 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6102, allocations: 7.938 kB / 0.7533 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.6102, allocations: 4 kB / 0.7533 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6102, allocations: 8 kB / 0.7533 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.6106, allocations: 199.8 kB / 0.7535 GB, free: 15.31 MB / 0.5762 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.001434/0.6121, allocations: 1.209 MB / 0.7547 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.6123, allocations: 134.5 kB / 0.7548 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.6125, allocations: 92.8 kB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/0.6132, allocations: 303.2 kB / 0.7552 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6133, allocations: 34.56 kB / 0.7552 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.6133, allocations: 0 / 0.7552 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007551/0.614, allocations: 278.3 kB / 0.7555 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6141, allocations: 55.41 kB / 0.7556 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.6144, allocations: 316.5 kB / 0.7559 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.6145, allocations: 25.7 kB / 0.7559 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.6146, allocations: 188 kB / 0.7561 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.6147, allocations: 55.2 kB / 0.7561 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.6148, allocations: 41.7 kB / 0.7562 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.6149, allocations: 338.8 kB / 0.7565 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.6151, allocations: 77.31 kB / 0.7566 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6153, allocations: 121 kB / 0.7567 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.6157, allocations: 186.7 kB / 0.7568 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6157, allocations: 0 / 0.7568 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004495/0.6162, allocations: 237.1 kB / 0.7571 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6162, allocations: 4 kB / 0.7571 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6162, allocations: 12.08 kB / 0.7571 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6162, allocations: 0 / 0.7571 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6164, allocations: 47.92 kB / 0.7571 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6164, allocations: 0 / 0.7571 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6167, allocations: 27.77 kB / 0.7572 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.6167, allocations: 19.11 kB / 0.7572 GB, free: 11.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.6169, allocations: 157.7 kB / 0.7573 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.6169, allocations: 27.62 kB / 0.7574 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.6174, allocations: 215.2 kB / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6174, allocations: 4 kB / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6174, allocations: 4.078 kB / 0.7576 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6174, allocations: 3.984 kB / 0.7576 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.6185, allocations: 0.6802 MB / 0.7582 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6185, allocations: 4 kB / 0.7582 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.6187, allocations: 40.12 kB / 0.7583 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6187, allocations: 7.938 kB / 0.7583 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.6187, allocations: 8 kB / 0.7583 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6187, allocations: 3.938 kB / 0.7583 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6187, allocations: 4 kB / 0.7583 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.6194, allocations: 433.9 kB / 0.7587 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6195, allocations: 120.7 kB / 0.7588 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.6196, allocations: 4 kB / 0.7588 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.6198, allocations: 23.95 kB / 0.7589 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.6198, allocations: 13.17 kB / 0.7589 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6199, allocations: 8 kB / 0.7589 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002245/0.6201, allocations: 227 kB / 0.7591 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6201, allocations: 0 / 0.7591 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00039/0.6205, allocations: 76 kB / 0.7592 GB, free: 9.117 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.000447/0.6209, allocations: 175.3 kB / 0.7593 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.6214, allocations: 171.8 kB / 0.7595 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6214, allocations: 8.188 kB / 0.7595 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.6216, allocations: 83.83 kB / 0.7596 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.6225, allocations: 174.8 kB / 0.7597 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.6236, allocations: 0.696 MB / 0.7604 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.624, allocations: 0.7756 MB / 0.7612 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000216/0.6242, allocations: 62.92 kB / 0.7612 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.6243, allocations: 23.44 kB / 0.7613 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6243, allocations: 0 / 0.7613 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of Templates: time 0.01123/0.6355, allocations: 5.649 MB / 0.7668 GB, free: 1.395 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)