Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_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.0009723/0.0009723, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.007263/0.007263, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.276/1.276, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3607, allocations: 81.57 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1585/0.5193, allocations: 163 MB / 0.7429 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.5216, allocations: 1.549 MB / 0.7444 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.5218, allocations: 11.88 kB / 0.7444 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.5221, allocations: 107.3 kB / 0.7445 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.5234, allocations: 0.6691 MB / 0.7452 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.5245, allocations: 0.5434 MB / 0.7457 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.5254, allocations: 0.9742 MB / 0.7467 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.5257, allocations: 201.1 kB / 0.7468 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.5262, allocations: 298.9 kB / 0.7471 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.5264, allocations: 235 kB / 0.7474 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.5264, allocations: 12 kB / 0.7474 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.5277, allocations: 1.013 MB / 0.7484 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.5278, allocations: 107.6 kB / 0.7485 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.528, allocations: 180.9 kB / 0.7486 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.5288, allocations: 0.7556 MB / 0.7494 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.5288, allocations: 0 / 0.7494 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5288, allocations: 0 / 0.7494 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5289, allocations: 0 / 0.7494 GB, free: 6.113 MB / 0.5762 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.0007769/0.5296, allocations: 0.6038 MB / 0.75 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5297, allocations: 8.031 kB / 0.75 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.5297, allocations: 54.55 kB / 0.75 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5308, allocations: 155.4 kB / 0.7502 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.5312, allocations: 297.7 kB / 0.7504 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5312, allocations: 24.44 kB / 0.7505 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.5313, allocations: 23.84 kB / 0.7505 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.5317, allocations: 287.4 kB / 0.7508 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5317, allocations: 0 / 0.7508 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5318, allocations: 12 kB / 0.7508 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5318, allocations: 8 kB / 0.7508 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.5322, allocations: 203.8 kB / 0.751 GB, free: 4.34 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.00141/0.5336, allocations: 1.217 MB / 0.7522 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.5339, allocations: 142.4 kB / 0.7523 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.5341, allocations: 100.8 kB / 0.7524 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.5346, allocations: 319.2 kB / 0.7527 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5347, allocations: 34.56 kB / 0.7527 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.407e-06/0.5347, allocations: 0 / 0.7527 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007084/0.5354, allocations: 297.3 kB / 0.753 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5354, allocations: 55.41 kB / 0.7531 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.5357, allocations: 312.5 kB / 0.7534 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.5358, allocations: 29.7 kB / 0.7534 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.5359, allocations: 184.1 kB / 0.7536 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.5359, allocations: 59.19 kB / 0.7536 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.536, allocations: 17.72 kB / 0.7537 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5361, allocations: 338.8 kB / 0.754 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.5363, allocations: 79.88 kB / 0.7541 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.5365, allocations: 125 kB / 0.7542 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.5368, allocations: 201 kB / 0.7544 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5368, allocations: 0 / 0.7544 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005234/0.5374, allocations: 248 kB / 0.7546 GB, free: 368 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5374, allocations: 9.719 kB / 0.7546 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5374, allocations: 0 / 0.7546 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5374, allocations: 7.984 kB / 0.7546 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.5376, allocations: 39.92 kB / 0.7547 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5376, allocations: 4 kB / 0.7547 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5378, allocations: 47.67 kB / 0.7547 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.5379, allocations: 19.94 kB / 0.7547 GB, free: 240 kB / 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.0001293/0.538, allocations: 149.8 kB / 0.7549 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.5381, allocations: 31.62 kB / 0.7549 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.5386, allocations: 227.4 kB / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5386, allocations: 4 kB / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5386, allocations: 0 / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5386, allocations: 0 / 0.7551 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5397, allocations: 0.6952 MB / 0.7558 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5397, allocations: 8.156 kB / 0.7558 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5398, allocations: 39.91 kB / 0.7558 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.5399, allocations: 4 kB / 0.7558 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5399, allocations: 8 kB / 0.7559 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5399, allocations: 3.938 kB / 0.7559 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5399, allocations: 4 kB / 0.7559 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.5405, allocations: 452.9 kB / 0.7563 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5406, allocations: 128.6 kB / 0.7564 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.5407, allocations: 4 kB / 0.7564 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5409, allocations: 20.05 kB / 0.7564 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.5409, allocations: 15.92 kB / 0.7565 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5409, allocations: 4 kB / 0.7565 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002015/0.5411, allocations: 227 kB / 0.7567 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5412, allocations: 0 / 0.7567 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003517/0.5415, allocations: 83.91 kB / 0.7568 GB, free: 14.01 MB / 0.5919 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.001299/0.5428, allocations: 1.045 MB / 0.7578 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.5433, allocations: 171.8 kB / 0.7579 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5433, allocations: 0 / 0.7579 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.5435, allocations: 104 kB / 0.758 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.5444, allocations: 158.1 kB / 0.7582 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.5479, allocations: 3.053 MB / 0.7612 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5482, allocations: 0.7836 MB / 0.7619 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.5484, allocations: 62.94 kB / 0.762 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5486, allocations: 87.41 kB / 0.7621 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5486, allocations: 0 / 0.7621 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/0.8542, allocations: 8.22 MB / 0.7701 GB, free: 372 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003682/0.8546, allocations: 226.1 kB / 0.7703 GB, free: 112 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.921, allocations: 0 / 0.7703 GB, free: 112 kB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)