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.001799/0.001799, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002325/0.002325, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.777/1.777, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.156/1.156, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 60.28 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2158, allocations: 80.94 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6745/0.8903, allocations: 165.1 MB / 0.7452 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.8947, allocations: 1.539 MB / 0.7467 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.8959, allocations: 10.25 kB / 0.7467 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.8971, allocations: 128.2 kB / 0.7468 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.9014, allocations: 0.6606 MB / 0.7475 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.9039, allocations: 0.559 MB / 0.748 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.9056, allocations: 0.7118 MB / 0.7487 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.9063, allocations: 223.5 kB / 0.7489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.9073, allocations: 333.8 kB / 0.7492 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.9077, allocations: 235 kB / 0.7495 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.9077, allocations: 22.56 kB / 0.7495 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.9098, allocations: 0.8969 MB / 0.7504 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.91, allocations: 110.1 kB / 0.7505 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.9102, allocations: 165.5 kB / 0.7506 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.9116, allocations: 0.7778 MB / 0.7514 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9116, allocations: 2.562 kB / 0.7514 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9116, allocations: 0 / 0.7514 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9116, allocations: 0 / 0.7514 GB, free: 1.406 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.001095/0.9127, allocations: 0.6553 MB / 0.752 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.9128, allocations: 10.72 kB / 0.752 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.9129, allocations: 58.2 kB / 0.7521 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.9141, allocations: 156.9 kB / 0.7522 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.9146, allocations: 308.8 kB / 0.7525 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.9147, allocations: 19.22 kB / 0.7526 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.9147, allocations: 19.59 kB / 0.7526 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.9153, allocations: 282.2 kB / 0.7528 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.9154, allocations: 0 / 0.7528 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.9154, allocations: 10.5 kB / 0.7529 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.9154, allocations: 4.906 kB / 0.7529 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.9158, allocations: 201.7 kB / 0.7531 GB, free: 60 kB / 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.001726/0.9176, allocations: 1.212 MB / 0.7542 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.918, allocations: 134.5 kB / 0.7544 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.9182, allocations: 92.75 kB / 0.7545 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009544/0.9192, allocations: 303.2 kB / 0.7547 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.9193, allocations: 34.56 kB / 0.7548 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.9193, allocations: 4 kB / 0.7548 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001008/0.9203, allocations: 277.4 kB / 0.755 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.9204, allocations: 51.41 kB / 0.7551 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.9209, allocations: 312.5 kB / 0.7554 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.9209, allocations: 33.64 kB / 0.7554 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.9211, allocations: 188.1 kB / 0.7556 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.9212, allocations: 59.19 kB / 0.7557 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.9214, allocations: 41.7 kB / 0.7557 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.9216, allocations: 338.8 kB / 0.756 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.9218, allocations: 63.95 kB / 0.7561 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.9222, allocations: 129 kB / 0.7562 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.9227, allocations: 189.4 kB / 0.7564 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9228, allocations: 0 / 0.7564 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007452/0.9235, allocations: 244.8 kB / 0.7566 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.9236, allocations: 8 kB / 0.7566 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.9236, allocations: 0 / 0.7566 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.9236, allocations: 4 kB / 0.7566 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.924, allocations: 47.59 kB / 0.7567 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.924, allocations: 0 / 0.7567 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.9244, allocations: 35.86 kB / 0.7567 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.9244, allocations: 8 kB / 0.7567 GB, free: 12.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.9247, allocations: 149.8 kB / 0.7569 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.9248, allocations: 27.62 kB / 0.7569 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/0.9256, allocations: 224.3 kB / 0.7571 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.9256, allocations: 4 kB / 0.7571 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9256, allocations: 0 / 0.7571 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.9256, allocations: 3.984 kB / 0.7571 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.9273, allocations: 0.6796 MB / 0.7578 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.9274, allocations: 3.938 kB / 0.7578 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.9277, allocations: 39.86 kB / 0.7578 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.9277, allocations: 4 kB / 0.7578 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.9277, allocations: 4 kB / 0.7578 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.9277, allocations: 0 / 0.7578 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.9277, allocations: 7.984 kB / 0.7578 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.9288, allocations: 439.6 kB / 0.7583 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.929, allocations: 124.7 kB / 0.7584 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.9291, allocations: 8 kB / 0.7584 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.9295, allocations: 11.98 kB / 0.7584 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.9296, allocations: 23.92 kB / 0.7584 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.9296, allocations: 11.12 kB / 0.7584 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003648/0.93, allocations: 227 kB / 0.7586 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.6e-07/0.93, allocations: 0 / 0.7586 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007307/0.9308, allocations: 75.91 kB / 0.7587 GB, free: 9.855 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.001892/0.9327, allocations: 1.036 MB / 0.7597 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.9334, allocations: 167.8 kB / 0.7599 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.9334, allocations: 0 / 0.7599 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.9338, allocations: 92.2 kB / 0.76 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.9354, allocations: 160.6 kB / 0.7601 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.9414, allocations: 3.007 MB / 0.7631 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.942, allocations: 0.7793 MB / 0.7638 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004395/0.9424, allocations: 66.86 kB / 0.7639 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.9426, allocations: 87.41 kB / 0.764 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.9427, allocations: 0 / 0.764 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5639/1.507, allocations: 8.575 MB / 0.7723 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003764/1.507, allocations: 239.5 kB / 0.7726 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/4.298, allocations: 3.938 kB / 0.7726 GB, free: 11.69 MB / 0.5919 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)