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.0008758/0.0008757, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005319/0.005319, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8409/0.8409, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 12.91 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3782/0.5116, allocations: 162.9 MB / 0.7472 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.5149, allocations: 1.542 MB / 0.7487 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005794/0.5155, allocations: 9.406 kB / 0.7487 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.516, allocations: 119 kB / 0.7488 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.5175, allocations: 0.6687 MB / 0.7495 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.5191, allocations: 0.549 MB / 0.75 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.52, allocations: 0.9753 MB / 0.751 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.5203, allocations: 196.7 kB / 0.7512 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.5207, allocations: 304.5 kB / 0.7514 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.521, allocations: 219.2 kB / 0.7517 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.521, allocations: 14.06 kB / 0.7517 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.5223, allocations: 1.023 MB / 0.7527 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.5224, allocations: 97.34 kB / 0.7528 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.5225, allocations: 175.2 kB / 0.7529 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.5233, allocations: 0.7654 MB / 0.7537 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5233, allocations: 0 / 0.7537 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5233, allocations: 3.938 kB / 0.7537 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5233, allocations: 0 / 0.7537 GB, free: 1.656 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.000698/0.524, allocations: 0.5919 MB / 0.7543 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.524, allocations: 9.75 kB / 0.7543 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.5241, allocations: 57.23 kB / 0.7543 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.5251, allocations: 155.2 kB / 0.7545 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.5254, allocations: 310.3 kB / 0.7548 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.5255, allocations: 14.16 kB / 0.7548 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.5255, allocations: 23.47 kB / 0.7548 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5259, allocations: 287.8 kB / 0.7551 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5259, allocations: 3.938 kB / 0.7551 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.526, allocations: 11.06 kB / 0.7551 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.526, allocations: 5.656 kB / 0.7551 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.5263, allocations: 207.1 kB / 0.7553 GB, free: 392 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.001139/0.5275, allocations: 1.215 MB / 0.7565 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.5277, allocations: 142.7 kB / 0.7566 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.5279, allocations: 101.2 kB / 0.7567 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.5284, allocations: 319.7 kB / 0.757 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.5284, allocations: 34.56 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.5284, allocations: 0 / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006508/0.5291, allocations: 299.2 kB / 0.7573 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5291, allocations: 51.41 kB / 0.7574 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.5294, allocations: 313.3 kB / 0.7577 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.5294, allocations: 33.64 kB / 0.7577 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5295, allocations: 182.3 kB / 0.7579 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.5296, allocations: 60.86 kB / 0.7579 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.5296, allocations: 20.25 kB / 0.758 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5297, allocations: 337.2 kB / 0.7583 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5299, allocations: 72.06 kB / 0.7584 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.5301, allocations: 131.8 kB / 0.7585 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.5304, allocations: 204 kB / 0.7587 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5304, allocations: 0 / 0.7587 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004235/0.5309, allocations: 249.1 kB / 0.7589 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5309, allocations: 8 kB / 0.7589 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5309, allocations: 0 / 0.7589 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5309, allocations: 7.984 kB / 0.7589 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.5311, allocations: 44.06 kB / 0.759 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5311, allocations: 0 / 0.759 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.5313, allocations: 43.73 kB / 0.759 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.5313, allocations: 8 kB / 0.759 GB, free: 12.99 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.0001224/0.5315, allocations: 157.7 kB / 0.7592 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.5315, allocations: 43.48 kB / 0.7592 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.532, allocations: 225.2 kB / 0.7594 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.532, allocations: 0 / 0.7594 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.532, allocations: 0 / 0.7594 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.532, allocations: 3.938 kB / 0.7594 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.5329, allocations: 0.6926 MB / 0.7601 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5329, allocations: 0.875 kB / 0.7601 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.533, allocations: 40.19 kB / 0.7601 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5331, allocations: 7.938 kB / 0.7602 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5331, allocations: 4 kB / 0.7602 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5331, allocations: 3.938 kB / 0.7602 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5331, allocations: 6.938 kB / 0.7602 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.5337, allocations: 456.9 kB / 0.7606 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.5338, allocations: 124.6 kB / 0.7607 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.5338, allocations: 8 kB / 0.7607 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.534, allocations: 11.98 kB / 0.7607 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5341, allocations: 20.05 kB / 0.7608 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.5341, allocations: 8 kB / 0.7608 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001806/0.5343, allocations: 223 kB / 0.761 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5343, allocations: 0 / 0.761 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000326/0.5346, allocations: 83.91 kB / 0.7611 GB, free: 10.76 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.0009799/0.5356, allocations: 1.038 MB / 0.7621 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.536, allocations: 187.6 kB / 0.7623 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.536, allocations: 0 / 0.7623 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.5362, allocations: 96.44 kB / 0.7623 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.537, allocations: 146.5 kB / 0.7625 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.5401, allocations: 3.081 MB / 0.7655 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5404, allocations: 0.7797 MB / 0.7663 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.5406, allocations: 54.94 kB / 0.7663 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5407, allocations: 91.41 kB / 0.7664 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5407, allocations: 0 / 0.7664 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.349/4.89, allocations: 8.227 MB / 0.7744 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/4.89, allocations: 227.3 kB / 0.7746 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/7.148, allocations: 3.938 kB / 0.7746 GB, free: 12.85 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)