Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009445/0.0009444, allocations: 179.1 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 0.631 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006547/0.0006547, allocations: 102.1 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003874, allocations: 12.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5303/0.7066, allocations: 152 MB / 1.129 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.7084, allocations: 1.477 MB / 1.13 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.7086, allocations: 10.38 kB / 1.13 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.7089, allocations: 108.6 kB / 1.13 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.71, allocations: 0.6239 MB / 1.131 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.711, allocations: 0.5047 MB / 1.131 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.7116, allocations: 0.8378 MB / 1.132 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.7119, allocations: 196.2 kB / 1.132 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.7123, allocations: 302 kB / 1.133 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.7125, allocations: 220.3 kB / 1.133 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.7126, allocations: 14.88 kB / 1.133 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.7138, allocations: 0.9978 MB / 1.134 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.7138, allocations: 90.19 kB / 1.134 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.714, allocations: 174.6 kB / 1.134 GB, free: 16.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.7145, allocations: 0.4982 MB / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7145, allocations: 0 / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7145, allocations: 1.031 kB / 1.135 GB, free: 16.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7145, allocations: 0 / 1.135 GB, free: 16.77 MB / 0.698 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.0007037/0.7152, allocations: 0.593 MB / 1.135 GB, free: 16.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7152, allocations: 11.33 kB / 1.135 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.7153, allocations: 61.94 kB / 1.135 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009515/0.7163, allocations: 157 kB / 1.135 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.7166, allocations: 305.4 kB / 1.136 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.7166, allocations: 16.66 kB / 1.136 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.7166, allocations: 23.34 kB / 1.136 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.7171, allocations: 281.3 kB / 1.136 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7171, allocations: 3.938 kB / 1.136 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.7171, allocations: 11.09 kB / 1.136 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.7171, allocations: 6.156 kB / 1.136 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.7175, allocations: 207.7 kB / 1.136 GB, free: 15.89 MB / 0.698 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.001071/0.7185, allocations: 1.216 MB / 1.137 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.7188, allocations: 146.5 kB / 1.137 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.719, allocations: 94.19 kB / 1.138 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.7196, allocations: 314.6 kB / 1.138 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.7196, allocations: 38.94 kB / 1.138 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.7196, allocations: 4 kB / 1.138 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007134/0.7204, allocations: 293 kB / 1.138 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.7204, allocations: 55.03 kB / 1.138 GB, free: 14.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.7207, allocations: 313.8 kB / 1.139 GB, free: 14.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.7207, allocations: 29.02 kB / 1.139 GB, free: 14.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.7208, allocations: 180 kB / 1.139 GB, free: 14.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.7208, allocations: 56.45 kB / 1.139 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.7209, allocations: 3 kB / 1.139 GB, free: 14.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.721, allocations: 338.5 kB / 1.139 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.7211, allocations: 73.84 kB / 1.139 GB, free: 13.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.7213, allocations: 135.4 kB / 1.139 GB, free: 13.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.7216, allocations: 196.4 kB / 1.14 GB, free: 13.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7216, allocations: 4 kB / 1.14 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004237/0.7221, allocations: 247.8 kB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7221, allocations: 4.469 kB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7221, allocations: 1.531 kB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7221, allocations: 3.125 kB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.7223, allocations: 49.38 kB / 1.14 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7223, allocations: 2.781 kB / 1.14 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.7225, allocations: 38.91 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.7226, allocations: 9.375 kB / 1.14 GB, free: 13.77 MB / 0.698 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.0001297/0.7227, allocations: 158.3 kB / 1.14 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.7227, allocations: 25.09 kB / 1.14 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.7232, allocations: 225.4 kB / 1.14 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7232, allocations: 9.109 kB / 1.14 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7232, allocations: 3.484 kB / 1.14 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7232, allocations: 4 kB / 1.14 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.7241, allocations: 0.701 MB / 1.141 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7241, allocations: 1.219 kB / 1.141 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.7243, allocations: 30.92 kB / 1.141 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.7243, allocations: 3.562 kB / 1.141 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.7243, allocations: 14.44 kB / 1.141 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7243, allocations: 9.109 kB / 1.141 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7244, allocations: 2.5 kB / 1.141 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.725, allocations: 451.8 kB / 1.141 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.7251, allocations: 120.9 kB / 1.142 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.7251, allocations: 11.34 kB / 1.142 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.7253, allocations: 17.7 kB / 1.142 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.7253, allocations: 14.58 kB / 1.142 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.7254, allocations: 9.641 kB / 1.142 GB, free: 12.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001813/0.7255, allocations: 225.9 kB / 1.142 GB, free: 12.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/0.7255, allocations: 1 kB / 1.142 GB, free: 12.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003359/0.7259, allocations: 79.11 kB / 1.142 GB, free: 12.7 MB / 0.698 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.00103/0.7269, allocations: 1.042 MB / 1.143 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.7273, allocations: 182.3 kB / 1.143 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7273, allocations: 0 / 1.143 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.7275, allocations: 88.88 kB / 1.143 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008941/0.7284, allocations: 165 kB / 1.143 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.7308, allocations: 1.775 MB / 1.145 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7311, allocations: 0.777 MB / 1.146 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.7313, allocations: 62.03 kB / 1.146 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.7314, allocations: 94.31 kB / 1.146 GB, free: 10.01 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.7315, allocations: 4 kB / 1.146 GB, free: 10 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6745/1.406, allocations: 8.316 MB / 1.154 GB, free: 6.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.406, allocations: 240.2 kB / 1.154 GB, free: 5.773 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.876, allocations: 1.25 kB / 1.154 GB, free: 5.773 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)