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.0009287/0.0009286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009783/0.0009782, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6804/0.6804, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.69 kB / 0.5014 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1243, allocations: 80.2 MB / 0.5797 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3649/0.4893, allocations: 165.1 MB / 0.7409 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.4916, allocations: 1.545 MB / 0.7424 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.4918, allocations: 10.72 kB / 0.7424 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.4922, allocations: 126.3 kB / 0.7425 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.4936, allocations: 0.6586 MB / 0.7432 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4947, allocations: 0.5557 MB / 0.7437 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.4954, allocations: 0.7103 MB / 0.7444 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.4957, allocations: 227.7 kB / 0.7446 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.4961, allocations: 337.1 kB / 0.7449 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.4964, allocations: 233.9 kB / 0.7452 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.4964, allocations: 27.38 kB / 0.7452 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.4975, allocations: 0.8935 MB / 0.7461 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.4976, allocations: 111 kB / 0.7462 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4978, allocations: 176.2 kB / 0.7463 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008057/0.4986, allocations: 0.7738 MB / 0.7471 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4986, allocations: 0 / 0.7471 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4986, allocations: 0 / 0.7471 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4986, allocations: 0 / 0.7471 GB, free: 6.312 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.0007724/0.4994, allocations: 0.6484 MB / 0.7477 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4994, allocations: 7.438 kB / 0.7477 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.4995, allocations: 64.3 kB / 0.7478 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.5005, allocations: 160 kB / 0.748 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.5009, allocations: 303.9 kB / 0.7482 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5009, allocations: 14.75 kB / 0.7483 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.5009, allocations: 23 kB / 0.7483 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.5014, allocations: 281.6 kB / 0.7485 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5014, allocations: 0 / 0.7485 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.5014, allocations: 10.67 kB / 0.7486 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5014, allocations: 5.312 kB / 0.7486 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.5018, allocations: 202.2 kB / 0.7488 GB, free: 5.004 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.001172/0.503, allocations: 1.209 MB / 0.7499 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.5032, allocations: 132.1 kB / 0.7501 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.5034, allocations: 97.83 kB / 0.7502 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/0.5039, allocations: 303.1 kB / 0.7504 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.504, allocations: 33.41 kB / 0.7505 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.504, allocations: 0 / 0.7505 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006577/0.5046, allocations: 287 kB / 0.7507 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5047, allocations: 51.41 kB / 0.7508 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.5049, allocations: 318.1 kB / 0.7511 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.505, allocations: 29.7 kB / 0.7511 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5051, allocations: 180.2 kB / 0.7513 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.5051, allocations: 59.03 kB / 0.7514 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.5052, allocations: 37.44 kB / 0.7514 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5053, allocations: 343.2 kB / 0.7517 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5055, allocations: 65.83 kB / 0.7518 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5056, allocations: 130.4 kB / 0.7519 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.506, allocations: 194 kB / 0.7521 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.506, allocations: 0 / 0.7521 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004374/0.5064, allocations: 241.1 kB / 0.7523 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5064, allocations: 8 kB / 0.7523 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5064, allocations: 2.812 kB / 0.7523 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5065, allocations: 7.938 kB / 0.7523 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.5066, allocations: 39.98 kB / 0.7524 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5067, allocations: 7.875 kB / 0.7524 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5069, allocations: 47.75 kB / 0.7524 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5069, allocations: 8 kB / 0.7524 GB, free: 1.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.507, allocations: 147.3 kB / 0.7526 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.5071, allocations: 23.72 kB / 0.7526 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.5075, allocations: 228.2 kB / 0.7528 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5075, allocations: 0 / 0.7528 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5075, allocations: 4 kB / 0.7528 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5075, allocations: 0 / 0.7528 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000898/0.5084, allocations: 0.6796 MB / 0.7535 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5085, allocations: 0 / 0.7535 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5086, allocations: 35.86 kB / 0.7535 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.5086, allocations: 4 kB / 0.7535 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5087, allocations: 11.56 kB / 0.7535 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5087, allocations: 3.281 kB / 0.7535 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5087, allocations: 4 kB / 0.7535 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.5093, allocations: 439.5 kB / 0.754 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5094, allocations: 124.6 kB / 0.7541 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.5094, allocations: 7.984 kB / 0.7541 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.5096, allocations: 15.98 kB / 0.7541 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.5097, allocations: 15.92 kB / 0.7541 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.5097, allocations: 8 kB / 0.7541 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001893/0.5099, allocations: 227.1 kB / 0.7543 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5099, allocations: 0 / 0.7543 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003611/0.5103, allocations: 75.98 kB / 0.7544 GB, free: 15.59 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 (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.001013/0.5113, allocations: 1.032 MB / 0.7554 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.5117, allocations: 171.8 kB / 0.7556 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5117, allocations: 0 / 0.7556 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5119, allocations: 96.44 kB / 0.7557 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.5127, allocations: 158.2 kB / 0.7558 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.5158, allocations: 3.005 MB / 0.7588 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5161, allocations: 0.7832 MB / 0.7595 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.5163, allocations: 64.48 kB / 0.7596 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5164, allocations: 87.41 kB / 0.7597 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5164, allocations: 0 / 0.7597 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/0.7203, allocations: 8.568 MB / 0.768 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.7206, allocations: 234.5 kB / 0.7683 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.488, allocations: 4 kB / 0.7683 GB, free: 1.422 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/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)