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.001061/0.001062, allocations: 91.84 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.0009818/0.0009818, 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9818/0.9818, allocations: 135.3 MB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 12 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5136/0.699, allocations: 152 MB / 0.7358 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.7019, allocations: 1.474 MB / 0.7373 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.7022, allocations: 13.66 kB / 0.7373 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.7027, allocations: 105.8 kB / 0.7374 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.7046, allocations: 0.5025 MB / 0.7379 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.7063, allocations: 448.6 kB / 0.7383 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.7075, allocations: 0.8268 MB / 0.7391 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.7079, allocations: 178.1 kB / 0.7393 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.7085, allocations: 303.9 kB / 0.7396 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.7088, allocations: 213.5 kB / 0.7398 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.7088, allocations: 13.31 kB / 0.7398 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.71, allocations: 478.2 kB / 0.7402 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.7102, allocations: 95.86 kB / 0.7403 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.7103, allocations: 82.55 kB / 0.7404 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.7109, allocations: 441.8 kB / 0.7408 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7109, allocations: 0 / 0.7408 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7109, allocations: 0 / 0.7408 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.7109, allocations: 0 / 0.7408 GB, free: 13.15 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.0009571/0.7119, allocations: 0.6057 MB / 0.7414 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7119, allocations: 8.25 kB / 0.7414 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.713, allocations: 154.6 kB / 0.7416 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.7134, allocations: 303.3 kB / 0.7419 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.7135, allocations: 13.91 kB / 0.7419 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.7135, allocations: 26.58 kB / 0.7419 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.714, allocations: 279.5 kB / 0.7422 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.7141, allocations: 0 / 0.7422 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.7141, allocations: 6.094 kB / 0.7422 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.7141, allocations: 9.281 kB / 0.7422 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.7145, allocations: 212.2 kB / 0.7424 GB, free: 12.12 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.001358/0.7159, allocations: 1.214 MB / 0.7436 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.7161, allocations: 140.7 kB / 0.7437 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.7163, allocations: 101.3 kB / 0.7438 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.7169, allocations: 311.4 kB / 0.7441 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.7169, allocations: 37.59 kB / 0.7441 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.7169, allocations: 3.938 kB / 0.7441 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007232/0.7177, allocations: 296.8 kB / 0.7444 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.7177, allocations: 56.56 kB / 0.7445 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.7181, allocations: 308.2 kB / 0.7448 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.7181, allocations: 29.7 kB / 0.7448 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.7182, allocations: 185.9 kB / 0.745 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.7183, allocations: 49.53 kB / 0.745 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.7183, allocations: 4 kB / 0.745 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7185, allocations: 352.3 kB / 0.7454 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7186, allocations: 72.56 kB / 0.7454 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.7188, allocations: 129.8 kB / 0.7456 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.719, allocations: 78.25 kB / 0.7456 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.719, allocations: 0 / 0.7456 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004292/0.7195, allocations: 254.5 kB / 0.7459 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7195, allocations: 6.344 kB / 0.7459 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7195, allocations: 0 / 0.7459 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7195, allocations: 3.375 kB / 0.7459 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.7197, allocations: 46.39 kB / 0.7459 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7197, allocations: 2.906 kB / 0.7459 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.7199, allocations: 35.17 kB / 0.746 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.72, allocations: 17.42 kB / 0.746 GB, free: 9.309 MB / 0.5606 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.0001398/0.7201, allocations: 157.1 kB / 0.7461 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.7202, allocations: 27.16 kB / 0.7462 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.7206, allocations: 228.2 kB / 0.7464 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7206, allocations: 0 / 0.7464 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7207, allocations: 3.562 kB / 0.7464 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7207, allocations: 0 / 0.7464 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.7216, allocations: 0.695 MB / 0.7471 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7216, allocations: 3 kB / 0.7471 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.7218, allocations: 37.25 kB / 0.7471 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7218, allocations: 5.25 kB / 0.7471 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.7218, allocations: 6.812 kB / 0.7471 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7218, allocations: 7.281 kB / 0.7471 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7218, allocations: 3.953 kB / 0.7471 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.7224, allocations: 456.4 kB / 0.7476 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.7226, allocations: 120.7 kB / 0.7477 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.7226, allocations: 7.328 kB / 0.7477 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.7228, allocations: 21.47 kB / 0.7477 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.7229, allocations: 21.05 kB / 0.7477 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.7229, allocations: 7.375 kB / 0.7477 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001937/0.7231, allocations: 219.9 kB / 0.7479 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7231, allocations: 0 / 0.7479 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003899/0.7235, allocations: 81.77 kB / 0.748 GB, free: 7.77 MB / 0.5606 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.0003823/0.7239, allocations: 174 kB / 0.7482 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.7243, allocations: 177.9 kB / 0.7483 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7243, allocations: 3.938 kB / 0.7483 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.7245, allocations: 89.02 kB / 0.7484 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.7253, allocations: 159.1 kB / 0.7486 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.7263, allocations: 0.7033 MB / 0.7493 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.7266, allocations: 0.7781 MB / 0.75 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.7268, allocations: 66.92 kB / 0.7501 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.7269, allocations: 23.44 kB / 0.7501 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.7269, allocations: 0 / 0.7501 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of Templates: time 0.009699/0.7366, allocations: 5.284 MB / 0.7553 GB, free: 0.875 MB / 0.5606 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)