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.001386/0.001386, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001693/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.491/2.491, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.269/1.269, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005722/0.0005726, allocations: 9.844 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7448, allocations: 81.58 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2941/1.039, allocations: 140.2 MB / 0.7198 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004245/1.043, allocations: 1.579 MB / 0.7214 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/1.044, allocations: 7.938 kB / 0.7214 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/1.045, allocations: 179.1 kB / 0.7216 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/1.047, allocations: 0.5141 MB / 0.7221 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/1.049, allocations: 494.4 kB / 0.7225 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001098/1.05, allocations: 431.6 kB / 0.7229 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/1.051, allocations: 185.2 kB / 0.7231 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/1.052, allocations: 339 kB / 0.7234 GB, free: 412 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/1.052, allocations: 155.3 kB / 0.7236 GB, free: 256 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/1.052, allocations: 12 kB / 0.7236 GB, free: 244 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/1.054, allocations: 423.3 kB / 0.724 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/1.054, allocations: 87.78 kB / 0.7241 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/1.054, allocations: 81.52 kB / 0.7242 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008213/1.055, allocations: 395.2 kB / 0.7245 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.055, allocations: 0 / 0.7245 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.765e-06/1.055, allocations: 0 / 0.7245 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.055, allocations: 4 kB / 0.7245 GB, free: 15.26 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.001276/1.056, allocations: 0.5921 MB / 0.7251 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/1.056, allocations: 8.031 kB / 0.7251 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.412e-05/1.056, allocations: 62.42 kB / 0.7252 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.058, allocations: 159.4 kB / 0.7253 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/1.059, allocations: 301.9 kB / 0.7256 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/1.059, allocations: 20.44 kB / 0.7256 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/1.059, allocations: 16 kB / 0.7257 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/1.059, allocations: 283.5 kB / 0.7259 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.059, allocations: 0 / 0.7259 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.06, allocations: 8 kB / 0.7259 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/1.06, allocations: 11.95 kB / 0.726 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/1.06, allocations: 199.8 kB / 0.7261 GB, free: 13.5 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.002048/1.062, allocations: 1.217 MB / 0.7273 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/1.063, allocations: 142.5 kB / 0.7275 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/1.063, allocations: 137 kB / 0.7276 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.063, allocations: 34.56 kB / 0.7276 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/1.063, allocations: 0 / 0.7276 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.001109/1.064, allocations: 303.3 kB / 0.7279 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.064, allocations: 55.41 kB / 0.728 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/1.065, allocations: 308.5 kB / 0.7283 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.065, allocations: 33.64 kB / 0.7283 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.065, allocations: 184.1 kB / 0.7285 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/1.065, allocations: 47.3 kB / 0.7285 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/1.065, allocations: 4 kB / 0.7285 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000213/1.065, allocations: 342.8 kB / 0.7289 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.066, allocations: 71.95 kB / 0.7289 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/1.066, allocations: 121.1 kB / 0.729 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.066, allocations: 87.95 kB / 0.7291 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.066, allocations: 3.938 kB / 0.7291 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006583/1.067, allocations: 253.1 kB / 0.7294 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.067, allocations: 4 kB / 0.7294 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.067, allocations: 3.984 kB / 0.7294 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.067, allocations: 4 kB / 0.7294 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/1.067, allocations: 47.97 kB / 0.7294 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.067, allocations: 0 / 0.7294 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/1.068, allocations: 39.77 kB / 0.7295 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/1.068, allocations: 15.94 kB / 0.7295 GB, free: 9.879 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.0002502/1.068, allocations: 153.8 kB / 0.7296 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/1.068, allocations: 27.62 kB / 0.7296 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/1.069, allocations: 228.3 kB / 0.7299 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.069, allocations: 4.141 kB / 0.7299 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.069, allocations: 0 / 0.7299 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.069, allocations: 3.984 kB / 0.7299 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.07, allocations: 0.707 MB / 0.7306 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.07, allocations: 0 / 0.7306 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/1.071, allocations: 35.92 kB / 0.7306 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.071, allocations: 4 kB / 0.7306 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.071, allocations: 11.98 kB / 0.7306 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.071, allocations: 3.953 kB / 0.7306 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.071, allocations: 4 kB / 0.7306 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/1.072, allocations: 0.516 MB / 0.7311 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/1.072, allocations: 128.7 kB / 0.7312 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/1.072, allocations: 7.953 kB / 0.7313 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.072, allocations: 15.98 kB / 0.7313 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.072, allocations: 23.98 kB / 0.7313 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/1.072, allocations: 4 kB / 0.7313 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000344/1.073, allocations: 231 kB / 0.7315 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 0.7315 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006152/1.073, allocations: 79.84 kB / 0.7316 GB, free: 7.52 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.001958/1.075, allocations: 1.598 MB / 0.7332 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006042/1.076, allocations: 179.7 kB / 0.7333 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.076, allocations: 0 / 0.7333 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/1.076, allocations: 95.81 kB / 0.7334 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.077, allocations: 153.6 kB / 0.7336 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/1.082, allocations: 2.516 MB / 0.736 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/1.082, allocations: 0.7875 MB / 0.7368 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003761/1.083, allocations: 66.92 kB / 0.7369 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.083, allocations: 79.42 kB / 0.7369 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.083, allocations: 0 / 0.7369 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/1.115, allocations: 8.198 MB / 0.7449 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/1.115, allocations: 210.7 kB / 0.7451 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.006, allocations: 0 / 0.7451 GB, free: 9.684 MB / 0.5762 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/linux/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) Environment - environmentSimulation: