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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00156/0.00156, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9647/0.9647, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 76.03 kB / 0.5047 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2032, allocations: 80.91 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5295/0.7327, allocations: 165.1 MB / 0.7449 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.7358, allocations: 1.555 MB / 0.7464 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.7363, allocations: 10.81 kB / 0.7465 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.7369, allocations: 115.7 kB / 0.7466 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.7389, allocations: 0.6724 MB / 0.7472 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.7408, allocations: 0.5446 MB / 0.7478 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.742, allocations: 0.9763 MB / 0.7487 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.7423, allocations: 199.7 kB / 0.7489 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006115/0.7429, allocations: 310.2 kB / 0.7492 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.7432, allocations: 238 kB / 0.7494 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.7433, allocations: 13.28 kB / 0.7494 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.7451, allocations: 1.004 MB / 0.7504 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.7452, allocations: 101.9 kB / 0.7505 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.7454, allocations: 160.2 kB / 0.7507 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.7464, allocations: 0.7707 MB / 0.7514 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7464, allocations: 0 / 0.7514 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7464, allocations: 0 / 0.7514 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7464, allocations: 4 kB / 0.7514 GB, free: 1.336 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.0009805/0.7474, allocations: 0.642 MB / 0.752 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7475, allocations: 7.406 kB / 0.7521 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7486, allocations: 156.6 kB / 0.7522 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.7491, allocations: 311.5 kB / 0.7525 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7491, allocations: 16.34 kB / 0.7525 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.7491, allocations: 31.56 kB / 0.7525 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.7496, allocations: 276 kB / 0.7528 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7496, allocations: 0 / 0.7528 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.7497, allocations: 10.72 kB / 0.7528 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7497, allocations: 5.5 kB / 0.7528 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.7501, allocations: 201.5 kB / 0.753 GB, free: 84 kB / 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.001372/0.7515, allocations: 1.202 MB / 0.7542 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.7518, allocations: 142.5 kB / 0.7543 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.7519, allocations: 92.8 kB / 0.7544 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006777/0.7526, allocations: 303.2 kB / 0.7547 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.7527, allocations: 34.56 kB / 0.7547 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.7527, allocations: 0 / 0.7547 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007797/0.7534, allocations: 283.7 kB / 0.755 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.7535, allocations: 51.41 kB / 0.7551 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.7538, allocations: 316.5 kB / 0.7554 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.7538, allocations: 29.7 kB / 0.7554 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.754, allocations: 184.1 kB / 0.7556 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.754, allocations: 59.19 kB / 0.7556 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.7541, allocations: 41.7 kB / 0.7557 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7543, allocations: 338.8 kB / 0.756 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.7544, allocations: 67.95 kB / 0.756 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.7547, allocations: 132 kB / 0.7562 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.755, allocations: 185 kB / 0.7563 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.755, allocations: 3.938 kB / 0.7564 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004783/0.7555, allocations: 241.1 kB / 0.7566 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7555, allocations: 8 kB / 0.7566 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7555, allocations: 0 / 0.7566 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7556, allocations: 4 kB / 0.7566 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7558, allocations: 45.22 kB / 0.7566 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7558, allocations: 96 / 0.7566 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.756, allocations: 31.77 kB / 0.7567 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.7561, allocations: 15.94 kB / 0.7567 GB, free: 12.16 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.0001476/0.7562, allocations: 149.8 kB / 0.7568 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.7563, allocations: 31.61 kB / 0.7569 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.7568, allocations: 216.9 kB / 0.7571 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.7568, allocations: 3.984 kB / 0.7571 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7568, allocations: 0.875 kB / 0.7571 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7568, allocations: 0 / 0.7571 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.7578, allocations: 0.6908 MB / 0.7577 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7578, allocations: 0 / 0.7577 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.758, allocations: 31.92 kB / 0.7578 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.758, allocations: 7.938 kB / 0.7578 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.758, allocations: 13 kB / 0.7578 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.758, allocations: 3.984 kB / 0.7578 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.758, allocations: 8.359 kB / 0.7578 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.7587, allocations: 440 kB / 0.7582 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.7588, allocations: 124.7 kB / 0.7583 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.7589, allocations: 4 kB / 0.7583 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.7591, allocations: 15.98 kB / 0.7584 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.7591, allocations: 16.05 kB / 0.7584 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.7591, allocations: 7.938 kB / 0.7584 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002168/0.7594, allocations: 231 kB / 0.7586 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7594, allocations: 0 / 0.7586 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004077/0.7598, allocations: 83.91 kB / 0.7587 GB, free: 9.977 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.0004244/0.7602, allocations: 162.8 kB / 0.7588 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.7606, allocations: 167.7 kB / 0.759 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7607, allocations: 0 / 0.759 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.7609, allocations: 92.38 kB / 0.7591 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.7618, allocations: 165.4 kB / 0.7592 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.7628, allocations: 0.6833 MB / 0.7599 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.7632, allocations: 0.7719 MB / 0.7607 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.7634, allocations: 68.42 kB / 0.7607 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.7635, allocations: 27.44 kB / 0.7608 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7635, allocations: 0 / 0.7608 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.01036/0.7739, allocations: 5.455 MB / 0.7661 GB, free: 2.453 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)