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.001469/0.00147, allocations: 100.5 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.001885/0.001884, allocations: 177.3 kB / 15.94 MB, free: 228 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.403/2.403, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.694/1.694, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007199, allocations: 16 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4938, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 1.47/1.964, allocations: 140.1 MB / 0.7241 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00729/1.971, allocations: 1.574 MB / 0.7257 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007212/1.972, allocations: 9.562 kB / 0.7257 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/1.974, allocations: 170.2 kB / 0.7258 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/1.978, allocations: 0.5174 MB / 0.7263 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/1.982, allocations: 487.1 kB / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002848/1.985, allocations: 433.1 kB / 0.7272 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/1.986, allocations: 182.4 kB / 0.7274 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/1.989, allocations: 339.3 kB / 0.7277 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/1.99, allocations: 153.8 kB / 0.7279 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/1.99, allocations: 12.84 kB / 0.7279 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/1.993, allocations: 418.5 kB / 0.7283 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/1.993, allocations: 97.02 kB / 0.7284 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/1.993, allocations: 79.05 kB / 0.7284 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/1.995, allocations: 401.5 kB / 0.7288 GB, free: 6.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.995, allocations: 1.688 kB / 0.7288 GB, free: 6.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.599e-06/1.995, allocations: 0 / 0.7288 GB, free: 6.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.995, allocations: 0 / 0.7288 GB, free: 6.285 MB / 0.545 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.002088/1.997, allocations: 0.5917 MB / 0.7294 GB, free: 5.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001319/1.997, allocations: 8.25 kB / 0.7294 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/1.997, allocations: 56.62 kB / 0.7295 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/2, allocations: 164.2 kB / 0.7296 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/2.001, allocations: 297.3 kB / 0.7299 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/2.001, allocations: 22.06 kB / 0.7299 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/2.001, allocations: 19.88 kB / 0.73 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/2.003, allocations: 271.7 kB / 0.7302 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/2.003, allocations: 9.078 kB / 0.7302 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/2.003, allocations: 15.33 kB / 0.7302 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/2.003, allocations: 5.25 kB / 0.7302 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/2.004, allocations: 207 kB / 0.7304 GB, free: 5.207 MB / 0.545 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.003941/2.008, allocations: 1.209 MB / 0.7316 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/2.008, allocations: 146.8 kB / 0.7318 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/2.009, allocations: 142.9 kB / 0.7319 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/2.009, allocations: 36.52 kB / 0.7319 GB, free: 4.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 4.198e-06/2.009, allocations: 0 / 0.7319 GB, free: 4.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.001689/2.011, allocations: 298.3 kB / 0.7322 GB, free: 3.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/2.011, allocations: 58.25 kB / 0.7323 GB, free: 3.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/2.012, allocations: 310.9 kB / 0.7326 GB, free: 3.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/2.012, allocations: 29.7 kB / 0.7326 GB, free: 3.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/2.012, allocations: 186.9 kB / 0.7328 GB, free: 3.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/2.013, allocations: 54.33 kB / 0.7328 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/2.013, allocations: 4.812 kB / 0.7328 GB, free: 3.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002715/2.013, allocations: 343.4 kB / 0.7332 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/2.013, allocations: 71.88 kB / 0.7332 GB, free: 3.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/2.014, allocations: 124.2 kB / 0.7333 GB, free: 3.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/2.014, allocations: 93.75 kB / 0.7334 GB, free: 2.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/2.014, allocations: 0 / 0.7334 GB, free: 2.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009608/2.015, allocations: 250.4 kB / 0.7337 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/2.015, allocations: 5.719 kB / 0.7337 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/2.015, allocations: 0.5625 kB / 0.7337 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/2.015, allocations: 2.531 kB / 0.7337 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/2.016, allocations: 50.42 kB / 0.7337 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/2.016, allocations: 2.375 kB / 0.7337 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/2.016, allocations: 40.08 kB / 0.7338 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/2.016, allocations: 12.27 kB / 0.7338 GB, free: 2.844 MB / 0.545 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.004672/2.021, allocations: 155.5 kB / 0.7339 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/2.021, allocations: 29.47 kB / 0.734 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/2.023, allocations: 230.3 kB / 0.7342 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/2.023, allocations: 0 / 0.7342 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/2.023, allocations: 0 / 0.7342 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/2.023, allocations: 4.375 kB / 0.7342 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/2.026, allocations: 0.6895 MB / 0.7349 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/2.026, allocations: 224 / 0.7349 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/2.026, allocations: 38.42 kB / 0.7349 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/2.026, allocations: 2.062 kB / 0.7349 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/2.026, allocations: 7.859 kB / 0.7349 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.301e-05/2.026, allocations: 6.781 kB / 0.7349 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/2.026, allocations: 6.578 kB / 0.7349 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/2.028, allocations: 0.5188 MB / 0.7354 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/2.028, allocations: 127.7 kB / 0.7355 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/2.028, allocations: 7.828 kB / 0.7355 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/2.029, allocations: 19.5 kB / 0.7356 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/2.029, allocations: 14.56 kB / 0.7356 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/2.029, allocations: 4.844 kB / 0.7356 GB, free: 1.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006997/2.03, allocations: 227.3 kB / 0.7358 GB, free: 1.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/2.03, allocations: 0 / 0.7358 GB, free: 1.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001101/2.031, allocations: 80.09 kB / 0.7359 GB, free: 1.422 MB / 0.545 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.007551/2.038, allocations: 1.605 MB / 0.7374 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001033/2.04, allocations: 179.4 kB / 0.7376 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/2.04, allocations: 0 / 0.7376 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004607/2.04, allocations: 88.97 kB / 0.7377 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/2.042, allocations: 162.4 kB / 0.7379 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/2.053, allocations: 2.51 MB / 0.7403 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/2.055, allocations: 0.7811 MB / 0.7411 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008788/2.056, allocations: 72.69 kB / 0.7411 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/2.056, allocations: 85.34 kB / 0.7412 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 5.07e-06/2.056, allocations: 7.156 kB / 0.7412 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/2.181, allocations: 8.198 MB / 0.7492 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007948/2.182, allocations: 206.4 kB / 0.7494 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/6.229, allocations: 0 / 0.7494 GB, free: 6.062 MB / 0.5606 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/linux/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) Environment - environmentSimulation: