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.00559/0.00559, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001518/0.001518, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9688/0.9688, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 68.08 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4499, allocations: 81.03 MB / 0.6649 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1984/0.6484, allocations: 167.4 MB / 0.8283 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.6513, allocations: 1.547 MB / 0.8298 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.6515, allocations: 11.94 kB / 0.8298 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.6521, allocations: 142.9 kB / 0.83 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.6539, allocations: 0.7155 MB / 0.8307 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.6554, allocations: 0.5911 MB / 0.8313 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008652/0.6563, allocations: 0.7012 MB / 0.8319 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.6567, allocations: 225.1 kB / 0.8322 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.6573, allocations: 334.7 kB / 0.8325 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.6576, allocations: 223.1 kB / 0.8327 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.6576, allocations: 20 kB / 0.8327 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.6593, allocations: 0.8767 MB / 0.8336 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.6595, allocations: 99.72 kB / 0.8337 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.6597, allocations: 167.2 kB / 0.8338 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.661, allocations: 0.733 MB / 0.8345 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.661, allocations: 0 / 0.8345 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.661, allocations: 0 / 0.8345 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.661, allocations: 0 / 0.8345 GB, free: 2.648 MB / 0.6544 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.001035/0.6621, allocations: 0.6653 MB / 0.8352 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6621, allocations: 16.02 kB / 0.8352 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/0.6622, allocations: 54.55 kB / 0.8353 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.6634, allocations: 155.6 kB / 0.8354 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.6641, allocations: 329.8 kB / 0.8357 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.6641, allocations: 24.38 kB / 0.8357 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.6642, allocations: 24 kB / 0.8358 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.6647, allocations: 271.5 kB / 0.836 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6647, allocations: 0 / 0.836 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.6647, allocations: 12 kB / 0.836 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.6647, allocations: 8 kB / 0.836 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.6652, allocations: 191.8 kB / 0.8362 GB, free: 0.7969 MB / 0.6544 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.001583/0.6668, allocations: 1.221 MB / 0.8374 GB, free: 15.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.6671, allocations: 133.9 kB / 0.8375 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6673, allocations: 96.8 kB / 0.8376 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.668, allocations: 303.2 kB / 0.8379 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.668, allocations: 30.56 kB / 0.838 GB, free: 14.85 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.668, allocations: 0 / 0.838 GB, free: 14.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007831/0.6688, allocations: 285.5 kB / 0.8382 GB, free: 14.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.6689, allocations: 55.41 kB / 0.8383 GB, free: 14.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.6693, allocations: 312.5 kB / 0.8386 GB, free: 14.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.6693, allocations: 29.7 kB / 0.8386 GB, free: 14.15 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.6695, allocations: 184.3 kB / 0.8388 GB, free: 13.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.6695, allocations: 59.53 kB / 0.8388 GB, free: 13.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.6696, allocations: 45.64 kB / 0.8389 GB, free: 13.86 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6698, allocations: 342.8 kB / 0.8392 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.67, allocations: 59.95 kB / 0.8393 GB, free: 13.45 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.6702, allocations: 122.8 kB / 0.8394 GB, free: 13.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.6706, allocations: 193 kB / 0.8396 GB, free: 13.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6706, allocations: 0 / 0.8396 GB, free: 13.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004881/0.6711, allocations: 247.9 kB / 0.8398 GB, free: 12.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6711, allocations: 4 kB / 0.8398 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6711, allocations: 0 / 0.8398 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.6711, allocations: 7.938 kB / 0.8398 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6713, allocations: 39.97 kB / 0.8399 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.6714, allocations: 4 kB / 0.8399 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.6715, allocations: 35.7 kB / 0.8399 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.6716, allocations: 12.09 kB / 0.8399 GB, free: 12.76 MB / 0.67 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.0001596/0.6718, allocations: 149.8 kB / 0.84 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.6718, allocations: 27.81 kB / 0.8401 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.6723, allocations: 216.3 kB / 0.8403 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6723, allocations: 4 kB / 0.8403 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6723, allocations: 4 kB / 0.8403 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.6723, allocations: 7.922 kB / 0.8403 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.6734, allocations: 0.6875 MB / 0.841 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6735, allocations: 8.062 kB / 0.841 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.6736, allocations: 31.92 kB / 0.841 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6736, allocations: 4 kB / 0.841 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.6737, allocations: 0 / 0.841 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6737, allocations: 4.078 kB / 0.841 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6737, allocations: 11.97 kB / 0.841 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.6744, allocations: 436 kB / 0.8414 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6746, allocations: 125 kB / 0.8416 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.6746, allocations: 8 kB / 0.8416 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.6748, allocations: 7.984 kB / 0.8416 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.6749, allocations: 15.98 kB / 0.8416 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.6749, allocations: 7.938 kB / 0.8416 GB, free: 10.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002564/0.6751, allocations: 227 kB / 0.8418 GB, free: 10.67 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6751, allocations: 0 / 0.8418 GB, free: 10.67 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003852/0.6755, allocations: 87.88 kB / 0.8419 GB, free: 10.58 MB / 0.67 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.001402/0.6769, allocations: 1.027 MB / 0.8429 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.6774, allocations: 182.9 kB / 0.8431 GB, free: 9.336 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6774, allocations: 3.938 kB / 0.8431 GB, free: 9.332 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.6776, allocations: 87.83 kB / 0.8432 GB, free: 9.246 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.6785, allocations: 161.5 kB / 0.8433 GB, free: 9.086 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.6824, allocations: 2.909 MB / 0.8462 GB, free: 6.035 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.6828, allocations: 0.7756 MB / 0.8469 GB, free: 5.234 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.683, allocations: 62.92 kB / 0.847 GB, free: 5.172 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6832, allocations: 87.41 kB / 0.8471 GB, free: 5.086 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.6832, allocations: 0 / 0.8471 GB, free: 5.086 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.7148, allocations: 8.842 MB / 0.8557 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.904, allocations: 4.25 kB / 0.8557 GB, free: 12.42 MB / 0.6856 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)