Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008499/0.0008499, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004838/0.004838, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.18/1.18, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001596/0.001596, allocations: 259.1 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8412/0.8412, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 16.06 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3935/0.5226, allocations: 163 MB / 0.8444 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.5247, allocations: 1.537 MB / 0.8459 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.5249, allocations: 10.78 kB / 0.8459 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.5252, allocations: 125.9 kB / 0.846 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5264, allocations: 0.6606 MB / 0.8466 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5275, allocations: 0.5586 MB / 0.8472 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007398/0.5282, allocations: 0.9625 MB / 0.8481 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.5285, allocations: 200.8 kB / 0.8483 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.5289, allocations: 301.3 kB / 0.8486 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.5292, allocations: 226.6 kB / 0.8488 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.5292, allocations: 17.11 kB / 0.8488 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.5304, allocations: 1.006 MB / 0.8498 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.5305, allocations: 99.31 kB / 0.8499 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.5306, allocations: 177.3 kB / 0.8501 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.5314, allocations: 0.7627 MB / 0.8508 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5314, allocations: 0 / 0.8508 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5314, allocations: 0 / 0.8508 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.5314, allocations: 0 / 0.8508 GB, free: 14.77 MB / 0.5762 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.0007225/0.5322, allocations: 0.5976 MB / 0.8514 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5322, allocations: 11.03 kB / 0.8514 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.5323, allocations: 61.75 kB / 0.8515 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5333, allocations: 154.1 kB / 0.8516 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.5336, allocations: 307.3 kB / 0.8519 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5337, allocations: 16.47 kB / 0.8519 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.5337, allocations: 21.78 kB / 0.852 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.5341, allocations: 289.2 kB / 0.8522 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5342, allocations: 0 / 0.8522 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.5342, allocations: 6.969 kB / 0.8522 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5342, allocations: 4.594 kB / 0.8523 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.5346, allocations: 219.8 kB / 0.8525 GB, free: 13.48 MB / 0.5762 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.001166/0.5358, allocations: 1.22 MB / 0.8537 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.536, allocations: 136.3 kB / 0.8538 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.5362, allocations: 101.4 kB / 0.8539 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/0.5367, allocations: 313.3 kB / 0.8542 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5368, allocations: 37.69 kB / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.5368, allocations: 0 / 0.8542 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006739/0.5375, allocations: 294.8 kB / 0.8545 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.5375, allocations: 53.72 kB / 0.8545 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.5378, allocations: 320.2 kB / 0.8549 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5378, allocations: 28.61 kB / 0.8549 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5379, allocations: 178.2 kB / 0.8551 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.538, allocations: 58.97 kB / 0.8551 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.538, allocations: 31.45 kB / 0.8551 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5381, allocations: 338.8 kB / 0.8555 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5383, allocations: 66.45 kB / 0.8555 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5385, allocations: 133.4 kB / 0.8557 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.5388, allocations: 206.2 kB / 0.8558 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5388, allocations: 0 / 0.8558 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004199/0.5392, allocations: 254.7 kB / 0.8561 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5393, allocations: 7.781 kB / 0.8561 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5393, allocations: 0 / 0.8561 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5393, allocations: 4.875 kB / 0.8561 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.5395, allocations: 43.66 kB / 0.8561 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5395, allocations: 6.844 kB / 0.8561 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.5397, allocations: 34.05 kB / 0.8562 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.5397, allocations: 7.656 kB / 0.8562 GB, free: 10.44 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.0001254/0.5399, allocations: 151.4 kB / 0.8563 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.5399, allocations: 28.97 kB / 0.8564 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.5403, allocations: 231.8 kB / 0.8566 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5404, allocations: 2.844 kB / 0.8566 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5404, allocations: 0 / 0.8566 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5404, allocations: 3.984 kB / 0.8566 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.5413, allocations: 0.6907 MB / 0.8573 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5413, allocations: 3.078 kB / 0.8573 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5415, allocations: 43.61 kB / 0.8573 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5415, allocations: 10.08 kB / 0.8573 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5415, allocations: 8.219 kB / 0.8573 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5415, allocations: 2.844 kB / 0.8573 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5415, allocations: 6.891 kB / 0.8573 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.5421, allocations: 452.7 kB / 0.8578 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.5422, allocations: 122.9 kB / 0.8579 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.5422, allocations: 14.78 kB / 0.8579 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.5424, allocations: 14.89 kB / 0.8579 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.5425, allocations: 21.73 kB / 0.8579 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.5425, allocations: 7.969 kB / 0.8579 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001773/0.5427, allocations: 225.5 kB / 0.8582 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5427, allocations: 0 / 0.8582 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003382/0.543, allocations: 73.84 kB / 0.8582 GB, free: 8.895 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.001039/0.5441, allocations: 1.038 MB / 0.8592 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.5445, allocations: 190.9 kB / 0.8594 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5445, allocations: 0 / 0.8594 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5447, allocations: 93.02 kB / 0.8595 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.5456, allocations: 162.8 kB / 0.8597 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.5487, allocations: 3.063 MB / 0.8627 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.549, allocations: 0.775 MB / 0.8634 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.5492, allocations: 66.77 kB / 0.8635 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5493, allocations: 87.75 kB / 0.8636 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.5493, allocations: 0 / 0.8636 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.452/4.001, allocations: 8.249 MB / 0.8716 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/4.002, allocations: 250.3 kB / 0.8719 GB, free: 300 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/5.888, allocations: 0 / 0.8719 GB, free: 300 kB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)