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.0008049/0.0008049, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008035/0.0008035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7444/0.7444, allocations: 132.3 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 12.66 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4812, allocations: 81.57 MB / 0.5832 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.199/0.6803, allocations: 152 MB / 0.7316 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.683, allocations: 1.477 MB / 0.7331 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.6833, allocations: 7.938 kB / 0.7331 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.6837, allocations: 103.2 kB / 0.7332 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.6851, allocations: 0.5054 MB / 0.7337 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.6865, allocations: 459 kB / 0.7341 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000982/0.6875, allocations: 0.8414 MB / 0.7349 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.6878, allocations: 165.2 kB / 0.7351 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.6884, allocations: 302.8 kB / 0.7354 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.6887, allocations: 227.1 kB / 0.7356 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.6887, allocations: 12 kB / 0.7356 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.6898, allocations: 466.9 kB / 0.736 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.6899, allocations: 95.69 kB / 0.7361 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.6901, allocations: 85.52 kB / 0.7362 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.6906, allocations: 431 kB / 0.7366 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6906, allocations: 0 / 0.7366 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6906, allocations: 4 kB / 0.7366 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6906, allocations: 0 / 0.7366 GB, free: 2.922 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.0009188/0.6916, allocations: 0.5999 MB / 0.7372 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6916, allocations: 12.03 kB / 0.7372 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.454e-05/0.6917, allocations: 58.53 kB / 0.7373 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6928, allocations: 155.4 kB / 0.7374 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.6932, allocations: 301.8 kB / 0.7377 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.6932, allocations: 20.44 kB / 0.7377 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.6933, allocations: 24 kB / 0.7378 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004913/0.6938, allocations: 279.5 kB / 0.738 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6938, allocations: 0 / 0.738 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.6938, allocations: 8 kB / 0.738 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.6938, allocations: 15.89 kB / 0.7381 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.6943, allocations: 207.8 kB / 0.7383 GB, free: 1.145 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.001375/0.6956, allocations: 1.213 MB / 0.7394 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.6959, allocations: 138.5 kB / 0.7396 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.6961, allocations: 104.7 kB / 0.7397 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.6967, allocations: 315.2 kB / 0.74 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6968, allocations: 30.56 kB / 0.74 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.6968, allocations: 0 / 0.74 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007419/0.6975, allocations: 300.3 kB / 0.7403 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.6976, allocations: 55.41 kB / 0.7403 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.6979, allocations: 312.5 kB / 0.7406 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.6979, allocations: 25.7 kB / 0.7407 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.6981, allocations: 188.1 kB / 0.7408 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.6982, allocations: 51.3 kB / 0.7409 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.6982, allocations: 4 kB / 0.7409 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6983, allocations: 346.8 kB / 0.7412 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6985, allocations: 67.95 kB / 0.7413 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.6987, allocations: 125.1 kB / 0.7414 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.6989, allocations: 87.89 kB / 0.7415 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6989, allocations: 4 kB / 0.7415 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004545/0.6994, allocations: 245.1 kB / 0.7417 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6994, allocations: 4 kB / 0.7417 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.6994, allocations: 8.094 kB / 0.7417 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6994, allocations: 0 / 0.7417 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6996, allocations: 39.98 kB / 0.7418 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.6997, allocations: 7.984 kB / 0.7418 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.6999, allocations: 39.61 kB / 0.7418 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.6999, allocations: 12 kB / 0.7418 GB, free: 13.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.7001, allocations: 155.3 kB / 0.742 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.7001, allocations: 27.62 kB / 0.742 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.7006, allocations: 224.3 kB / 0.7422 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7007, allocations: 4 kB / 0.7422 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.7007, allocations: 4 kB / 0.7422 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7007, allocations: 0 / 0.7422 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7017, allocations: 0.6991 MB / 0.7429 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7017, allocations: 3.938 kB / 0.7429 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.7019, allocations: 35.92 kB / 0.743 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.7019, allocations: 4.219 kB / 0.743 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.7019, allocations: 12 kB / 0.743 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7019, allocations: 3.953 kB / 0.743 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.702, allocations: 4 kB / 0.743 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.7027, allocations: 448.9 kB / 0.7434 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7028, allocations: 128.7 kB / 0.7435 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.7029, allocations: 0 / 0.7435 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.703, allocations: 19.98 kB / 0.7435 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.7031, allocations: 20.02 kB / 0.7436 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7031, allocations: 8 kB / 0.7436 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000215/0.7033, allocations: 231 kB / 0.7438 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7033, allocations: 0 / 0.7438 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004523/0.7038, allocations: 79.91 kB / 0.7439 GB, free: 10.99 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 (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.001137/0.7049, allocations: 1.037 MB / 0.7449 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003894/0.7053, allocations: 183.7 kB / 0.7451 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7054, allocations: 0 / 0.7451 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.7055, allocations: 92.45 kB / 0.7451 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.7064, allocations: 160.5 kB / 0.7453 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.7089, allocations: 1.779 MB / 0.747 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.7093, allocations: 0.7758 MB / 0.7478 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.7095, allocations: 59.17 kB / 0.7479 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.7096, allocations: 91.41 kB / 0.7479 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.7097, allocations: 0 / 0.7479 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.7295, allocations: 8.219 MB / 0.756 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.7297, allocations: 209.2 kB / 0.7562 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.675, allocations: 0 / 0.7562 GB, free: 14.48 MB / 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/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: