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.0009716/0.0009716, allocations: 107.3 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.0009889/0.0009889, allocations: 189.2 kB / 16.25 MB, free: 6.145 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.314/1.314, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 284 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.2 MB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 95 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1564, allocations: 86.96 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.45/0.6065, allocations: 165.1 MB / 0.8409 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.609, allocations: 1.544 MB / 0.8425 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.6094, allocations: 10.78 kB / 0.8425 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.6099, allocations: 128.6 kB / 0.8426 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.6116, allocations: 0.6601 MB / 0.8432 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.6131, allocations: 0.5492 MB / 0.8438 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007919/0.6139, allocations: 0.7123 MB / 0.8445 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.6142, allocations: 216.9 kB / 0.8447 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.6148, allocations: 337.2 kB / 0.845 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.6151, allocations: 235.9 kB / 0.8452 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.6151, allocations: 27.5 kB / 0.8452 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.6166, allocations: 0.8915 MB / 0.8461 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.6167, allocations: 113.6 kB / 0.8462 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.6169, allocations: 164.8 kB / 0.8464 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.618, allocations: 0.779 MB / 0.8471 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.618, allocations: 0 / 0.8471 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.618, allocations: 0 / 0.8471 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.618, allocations: 0 / 0.8471 GB, free: 13.65 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.0008885/0.6189, allocations: 0.6619 MB / 0.8478 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.619, allocations: 10.09 kB / 0.8478 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.641e-05/0.619, allocations: 53.86 kB / 0.8478 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6201, allocations: 155.1 kB / 0.848 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.6205, allocations: 301.6 kB / 0.8483 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.6205, allocations: 16.03 kB / 0.8483 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.6206, allocations: 23.78 kB / 0.8483 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.6211, allocations: 280.1 kB / 0.8486 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6211, allocations: 0 / 0.8486 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.6211, allocations: 14.88 kB / 0.8486 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6211, allocations: 9.109 kB / 0.8486 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.6216, allocations: 197.1 kB / 0.8488 GB, free: 12.34 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.001331/0.6229, allocations: 1.211 MB / 0.85 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.6232, allocations: 129.5 kB / 0.8501 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.6234, allocations: 97.39 kB / 0.8502 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.624, allocations: 301.7 kB / 0.8505 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.624, allocations: 38.48 kB / 0.8505 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.6241, allocations: 6.625 kB / 0.8505 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000764/0.6248, allocations: 283 kB / 0.8508 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6249, allocations: 53.66 kB / 0.8509 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.6252, allocations: 316.1 kB / 0.8512 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6252, allocations: 28.3 kB / 0.8512 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.6254, allocations: 175.6 kB / 0.8513 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.6254, allocations: 57.23 kB / 0.8514 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.6255, allocations: 43.08 kB / 0.8514 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6257, allocations: 346.8 kB / 0.8518 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.6258, allocations: 66.36 kB / 0.8518 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.626, allocations: 124.1 kB / 0.852 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.6264, allocations: 194.2 kB / 0.8521 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6264, allocations: 0 / 0.8521 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004411/0.6268, allocations: 248 kB / 0.8524 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6269, allocations: 6.062 kB / 0.8524 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6269, allocations: 0 / 0.8524 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.6269, allocations: 5.031 kB / 0.8524 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.6271, allocations: 42.36 kB / 0.8524 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.6271, allocations: 5.094 kB / 0.8524 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.6274, allocations: 41.75 kB / 0.8525 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.6274, allocations: 12.09 kB / 0.8525 GB, free: 9.297 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.0002145/0.6276, allocations: 150.3 kB / 0.8526 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.6277, allocations: 26.16 kB / 0.8527 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/0.6283, allocations: 219.8 kB / 0.8529 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6283, allocations: 144 / 0.8529 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6283, allocations: 10.48 kB / 0.8529 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6283, allocations: 0 / 0.8529 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.6294, allocations: 0.679 MB / 0.8535 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6295, allocations: 2.125 kB / 0.8535 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.6296, allocations: 30.86 kB / 0.8536 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.6297, allocations: 6.406 kB / 0.8536 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.6297, allocations: 9.344 kB / 0.8536 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6297, allocations: 5.969 kB / 0.8536 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6297, allocations: 1.906 kB / 0.8536 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.6304, allocations: 446.3 kB / 0.854 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6305, allocations: 122.8 kB / 0.8541 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.6306, allocations: 10.33 kB / 0.8541 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.6308, allocations: 18.3 kB / 0.8542 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.6308, allocations: 15.45 kB / 0.8542 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6309, allocations: 6.75 kB / 0.8542 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002277/0.6311, allocations: 222.3 kB / 0.8544 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6311, allocations: 1.812 kB / 0.8544 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000378/0.6315, allocations: 77.92 kB / 0.8545 GB, free: 7.773 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.001197/0.6327, allocations: 1.026 MB / 0.8555 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.6331, allocations: 184.6 kB / 0.8556 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6331, allocations: 0 / 0.8556 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.6333, allocations: 88.36 kB / 0.8557 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.6342, allocations: 161.2 kB / 0.8559 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.6376, allocations: 3.003 MB / 0.8588 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.638, allocations: 0.7811 MB / 0.8596 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.6382, allocations: 60.47 kB / 0.8596 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.6384, allocations: 88.88 kB / 0.8597 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.6384, allocations: 0 / 0.8597 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.6585, allocations: 8.602 MB / 0.8681 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6587, allocations: 254.9 kB / 0.8684 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.571, allocations: 0 / 0.8684 GB, free: 15.15 MB / 0.5919 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)