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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00122/0.00122, allocations: 193.8 kB / 16.13 MB, free: 6.668 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.857/0.857, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 64.33 kB / 0.5048 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 80.93 MB / 0.5838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3991/0.5401, allocations: 165.1 MB / 0.745 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.5427, allocations: 1.559 MB / 0.7466 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.5431, allocations: 14.75 kB / 0.7466 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.5436, allocations: 107.8 kB / 0.7467 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.5451, allocations: 0.6767 MB / 0.7473 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.5464, allocations: 0.5446 MB / 0.7479 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00095/0.5474, allocations: 0.9716 MB / 0.7488 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.5478, allocations: 209.3 kB / 0.749 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.5484, allocations: 297.8 kB / 0.7493 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.5487, allocations: 229.4 kB / 0.7495 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.5488, allocations: 14.94 kB / 0.7495 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.5502, allocations: 1.021 MB / 0.7505 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.5503, allocations: 101.8 kB / 0.7506 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.5505, allocations: 157.7 kB / 0.7508 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.5515, allocations: 0.7605 MB / 0.7515 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5516, allocations: 0 / 0.7515 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5516, allocations: 0 / 0.7515 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5516, allocations: 0 / 0.7515 GB, free: 1.059 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.0008147/0.5524, allocations: 0.6498 MB / 0.7521 GB, free: 496 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.5524, allocations: 11.88 kB / 0.7522 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.5525, allocations: 54.64 kB / 0.7522 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5535, allocations: 156.5 kB / 0.7524 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.5539, allocations: 308.9 kB / 0.7527 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5539, allocations: 18.44 kB / 0.7527 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.5539, allocations: 23.75 kB / 0.7527 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.5543, allocations: 277.8 kB / 0.753 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5544, allocations: 6.828 kB / 0.753 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.5544, allocations: 8 kB / 0.753 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5544, allocations: 5.5 kB / 0.753 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.5548, allocations: 199 kB / 0.7532 GB, free: 15.74 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.001147/0.5559, allocations: 1.209 MB / 0.7544 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.5562, allocations: 134.5 kB / 0.7545 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5563, allocations: 96.73 kB / 0.7546 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.5569, allocations: 307.2 kB / 0.7549 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5569, allocations: 31.81 kB / 0.7549 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.557, allocations: 0 / 0.7549 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006712/0.5576, allocations: 287.8 kB / 0.7552 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.5577, allocations: 51.41 kB / 0.7552 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5579, allocations: 316.5 kB / 0.7555 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.558, allocations: 29.7 kB / 0.7555 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5581, allocations: 188 kB / 0.7557 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.5581, allocations: 51.2 kB / 0.7558 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.5582, allocations: 49.7 kB / 0.7558 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5583, allocations: 334.8 kB / 0.7561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5585, allocations: 63.95 kB / 0.7562 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5587, allocations: 121 kB / 0.7563 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.559, allocations: 196.9 kB / 0.7565 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.559, allocations: 0 / 0.7565 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004112/0.5594, allocations: 241.1 kB / 0.7567 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5595, allocations: 8 kB / 0.7567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5595, allocations: 0 / 0.7567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5595, allocations: 4 kB / 0.7567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.5597, allocations: 43.91 kB / 0.7568 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5597, allocations: 0 / 0.7568 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.5599, allocations: 36.64 kB / 0.7568 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5599, allocations: 20 kB / 0.7568 GB, free: 11.88 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.0001223/0.56, allocations: 149.7 kB / 0.757 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.5601, allocations: 31.62 kB / 0.757 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.5605, allocations: 214 kB / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5605, allocations: 0 / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5605, allocations: 0 / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5605, allocations: 3.984 kB / 0.7572 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.5614, allocations: 0.6875 MB / 0.7579 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5614, allocations: 0 / 0.7579 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.5616, allocations: 35.86 kB / 0.7579 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.5616, allocations: 4 kB / 0.7579 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.5616, allocations: 8 kB / 0.7579 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5616, allocations: 7.062 kB / 0.758 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5616, allocations: 7.984 kB / 0.758 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.5622, allocations: 435.6 kB / 0.7584 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.5623, allocations: 128.7 kB / 0.7585 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.5624, allocations: 4 kB / 0.7585 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5626, allocations: 15.98 kB / 0.7585 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.5626, allocations: 15.92 kB / 0.7585 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.5626, allocations: 4 kB / 0.7585 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001896/0.5628, allocations: 227 kB / 0.7588 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5628, allocations: 4 kB / 0.7588 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003466/0.5632, allocations: 83.91 kB / 0.7588 GB, free: 9.711 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.0009835/0.5642, allocations: 1.03 MB / 0.7598 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.5645, allocations: 163.8 kB / 0.76 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5645, allocations: 4 kB / 0.76 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.5647, allocations: 92.44 kB / 0.7601 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.5655, allocations: 158.7 kB / 0.7602 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.5686, allocations: 2.998 MB / 0.7632 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.569, allocations: 0.7797 MB / 0.7639 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.5692, allocations: 64.3 kB / 0.764 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5693, allocations: 91.41 kB / 0.7641 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.5693, allocations: 0 / 0.7641 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.442/1.011, allocations: 8.345 MB / 0.7722 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.012, allocations: 235.9 kB / 0.7725 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/3.098, allocations: 0 / 0.7725 GB, free: 11.76 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)