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.005778/0.005778, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001177/0.001177, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8391/0.8391, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.61 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 80.92 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6329/0.8021, allocations: 167.3 MB / 0.8281 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.8051, allocations: 1.552 MB / 0.8296 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.8054, allocations: 15.56 kB / 0.8296 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.8059, allocations: 149.9 kB / 0.8298 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.8079, allocations: 0.7344 MB / 0.8305 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.8094, allocations: 0.6114 MB / 0.8311 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000747/0.8102, allocations: 0.6987 MB / 0.8318 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.8105, allocations: 237.2 kB / 0.832 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.8111, allocations: 335.2 kB / 0.8323 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.8114, allocations: 231.9 kB / 0.8325 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.8114, allocations: 22.66 kB / 0.8325 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.8128, allocations: 0.8719 MB / 0.8334 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.8129, allocations: 108.5 kB / 0.8335 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.8131, allocations: 172.1 kB / 0.8337 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.814, allocations: 0.7199 MB / 0.8344 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8141, allocations: 0 / 0.8344 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8141, allocations: 0 / 0.8344 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.8141, allocations: 0 / 0.8344 GB, free: 11.57 MB / 0.6075 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.0009237/0.815, allocations: 0.6499 MB / 0.835 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.815, allocations: 8.453 kB / 0.835 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.8162, allocations: 155.5 kB / 0.8352 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.8167, allocations: 319.6 kB / 0.8355 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.8167, allocations: 16.28 kB / 0.8355 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.8168, allocations: 27.09 kB / 0.8355 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.8173, allocations: 276.8 kB / 0.8358 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8173, allocations: 4 kB / 0.8358 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.8173, allocations: 10.72 kB / 0.8358 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.8173, allocations: 5.094 kB / 0.8358 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.8177, allocations: 197.8 kB / 0.836 GB, free: 10.31 MB / 0.6075 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.001354/0.8191, allocations: 1.212 MB / 0.8372 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.8194, allocations: 133.1 kB / 0.8373 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.8195, allocations: 96.44 kB / 0.8374 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.8201, allocations: 302.2 kB / 0.8377 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8202, allocations: 44.53 kB / 0.8377 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.8202, allocations: 0 / 0.8377 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007579/0.8209, allocations: 279.2 kB / 0.838 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.821, allocations: 57.62 kB / 0.838 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.8213, allocations: 316.3 kB / 0.8383 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.8213, allocations: 25.7 kB / 0.8384 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.8215, allocations: 185.1 kB / 0.8385 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.8215, allocations: 57.22 kB / 0.8386 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.8216, allocations: 42.73 kB / 0.8386 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8218, allocations: 338.7 kB / 0.8389 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.8219, allocations: 67.02 kB / 0.839 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.8221, allocations: 126.6 kB / 0.8391 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.8225, allocations: 189.6 kB / 0.8393 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8225, allocations: 4 kB / 0.8393 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000428/0.8229, allocations: 237.9 kB / 0.8395 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8229, allocations: 5.281 kB / 0.8395 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.823, allocations: 2.438 kB / 0.8395 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.823, allocations: 5.375 kB / 0.8396 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.8232, allocations: 44.98 kB / 0.8396 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.8232, allocations: 6.203 kB / 0.8396 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.8234, allocations: 29.69 kB / 0.8396 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.8234, allocations: 13.8 kB / 0.8396 GB, free: 7.246 MB / 0.6075 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.0001399/0.8236, allocations: 153.6 kB / 0.8398 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.8236, allocations: 23.97 kB / 0.8398 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.8241, allocations: 218.8 kB / 0.84 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8241, allocations: 0 / 0.84 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8241, allocations: 6.594 kB / 0.84 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8241, allocations: 0 / 0.84 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/0.8251, allocations: 0.6791 MB / 0.8407 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8252, allocations: 2.578 kB / 0.8407 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.8253, allocations: 36.78 kB / 0.8407 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8253, allocations: 6.641 kB / 0.8407 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.8254, allocations: 6.688 kB / 0.8407 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8254, allocations: 6.5 kB / 0.8407 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8254, allocations: 6.438 kB / 0.8408 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.8261, allocations: 440.8 kB / 0.8412 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.8262, allocations: 128.1 kB / 0.8413 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.8263, allocations: 10.73 kB / 0.8413 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.8264, allocations: 8.719 kB / 0.8413 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/0.8265, allocations: 9.328 kB / 0.8413 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.8265, allocations: 10.84 kB / 0.8413 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002403/0.8268, allocations: 223.4 kB / 0.8415 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8268, allocations: 4.062 kB / 0.8416 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004451/0.8272, allocations: 76.75 kB / 0.8416 GB, free: 5.723 MB / 0.6075 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.0004309/0.8277, allocations: 164 kB / 0.8418 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.8281, allocations: 182.3 kB / 0.842 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8281, allocations: 0 / 0.842 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.8283, allocations: 91.25 kB / 0.842 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.8292, allocations: 172.5 kB / 0.8422 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.8302, allocations: 0.5803 MB / 0.8428 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.8305, allocations: 0.7788 MB / 0.8435 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.8308, allocations: 70.14 kB / 0.8436 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.8308, allocations: 25.03 kB / 0.8436 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.8308, allocations: 0 / 0.8436 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.01033/0.8412, allocations: 5.776 MB / 0.8493 GB, free: 1.332 MB / 0.6075 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)