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.0008704/0.0008704, allocations: 84.38 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.0009679/0.0009677, 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.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9436/0.9436, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 8.5 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6136/0.8226, allocations: 152 MB / 0.7359 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.8279, allocations: 1.475 MB / 0.7374 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005871/0.8286, allocations: 14.22 kB / 0.7374 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.8291, allocations: 100 kB / 0.7375 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.8314, allocations: 0.5054 MB / 0.738 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.8334, allocations: 454.5 kB / 0.7384 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.835, allocations: 0.8323 MB / 0.7392 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.8356, allocations: 178.4 kB / 0.7394 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008504/0.8364, allocations: 301.2 kB / 0.7397 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.8369, allocations: 219.8 kB / 0.7399 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.8369, allocations: 12.88 kB / 0.7399 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.8387, allocations: 460.1 kB / 0.7403 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.8389, allocations: 95.47 kB / 0.7404 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.8391, allocations: 83.95 kB / 0.7405 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.8399, allocations: 438.2 kB / 0.7409 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.8399, allocations: 5.312 kB / 0.7409 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.866e-06/0.8399, allocations: 4 kB / 0.7409 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.84, allocations: 0 / 0.7409 GB, free: 12.82 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.001003/0.841, allocations: 0.595 MB / 0.7415 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.841, allocations: 9.625 kB / 0.7415 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.8411, allocations: 60.11 kB / 0.7416 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8423, allocations: 156.6 kB / 0.7417 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.843, allocations: 307.5 kB / 0.742 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.843, allocations: 13.47 kB / 0.742 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.8431, allocations: 22.91 kB / 0.7421 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.8438, allocations: 284.1 kB / 0.7423 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.8438, allocations: 5.094 kB / 0.7423 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.8439, allocations: 6.219 kB / 0.7423 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.8439, allocations: 9.828 kB / 0.7423 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.8443, allocations: 209.2 kB / 0.7425 GB, free: 11.73 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.001846/0.8462, allocations: 1.208 MB / 0.7437 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.8465, allocations: 148 kB / 0.7439 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.8468, allocations: 98.05 kB / 0.744 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.8476, allocations: 313.6 kB / 0.7443 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8476, allocations: 33.47 kB / 0.7443 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.8476, allocations: 0 / 0.7443 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009491/0.8486, allocations: 296.2 kB / 0.7446 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.8486, allocations: 54.72 kB / 0.7446 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.8493, allocations: 316.9 kB / 0.7449 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.8493, allocations: 29.7 kB / 0.745 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.8496, allocations: 185.7 kB / 0.7451 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.8497, allocations: 45.08 kB / 0.7452 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.8497, allocations: 11.34 kB / 0.7452 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.8499, allocations: 341.1 kB / 0.7455 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.8502, allocations: 73.5 kB / 0.7456 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.8505, allocations: 124.7 kB / 0.7457 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.8508, allocations: 90.14 kB / 0.7458 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.8508, allocations: 2.906 kB / 0.7458 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005811/0.8514, allocations: 254.5 kB / 0.746 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8514, allocations: 3.438 kB / 0.746 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8514, allocations: 3.562 kB / 0.746 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8514, allocations: 1.406 kB / 0.746 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.8517, allocations: 46.95 kB / 0.7461 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.8517, allocations: 5.734 kB / 0.7461 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.852, allocations: 38.06 kB / 0.7461 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.852, allocations: 17 kB / 0.7461 GB, free: 8.938 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.8522, allocations: 154.2 kB / 0.7463 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8524, allocations: 30.34 kB / 0.7463 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.8529, allocations: 221.1 kB / 0.7465 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8529, allocations: 3 kB / 0.7465 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8529, allocations: 3.562 kB / 0.7465 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8529, allocations: 0 / 0.7465 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.8542, allocations: 0.6991 MB / 0.7472 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.8542, allocations: 3.094 kB / 0.7472 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.8544, allocations: 37.09 kB / 0.7473 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.8544, allocations: 3.062 kB / 0.7473 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8544, allocations: 7.312 kB / 0.7473 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.8544, allocations: 11.23 kB / 0.7473 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.8545, allocations: 2.656 kB / 0.7473 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.8551, allocations: 452.5 kB / 0.7477 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.8553, allocations: 122.4 kB / 0.7478 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.8553, allocations: 6.797 kB / 0.7478 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.8555, allocations: 16 kB / 0.7478 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.8556, allocations: 22.73 kB / 0.7479 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.8556, allocations: 10.38 kB / 0.7479 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002479/0.8559, allocations: 216.8 kB / 0.7481 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8559, allocations: 0 / 0.7481 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004681/0.8564, allocations: 80.86 kB / 0.7482 GB, free: 7.406 MB / 0.5606 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.001452/0.8578, allocations: 1.042 MB / 0.7492 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.8583, allocations: 183.6 kB / 0.7494 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8583, allocations: 0 / 0.7494 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.8585, allocations: 93.58 kB / 0.7494 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/0.8594, allocations: 151.6 kB / 0.7496 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.8627, allocations: 1.777 MB / 0.7513 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.8633, allocations: 0.7836 MB / 0.7521 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002746/0.8635, allocations: 62.92 kB / 0.7521 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.8637, allocations: 95.34 kB / 0.7522 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of SimCode: time 1.794e-06/0.8637, allocations: 0 / 0.7522 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.8906, allocations: 8.224 MB / 0.7603 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.891, allocations: 213.9 kB / 0.7605 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.815, allocations: 0 / 0.7605 GB, free: 11.41 MB / 0.5762 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: