Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001942/0.001942, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 64.06 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1993, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5218/0.7212, allocations: 165.1 MB / 0.944 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.7233, allocations: 1.561 MB / 0.9456 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.7235, allocations: 8.156 kB / 0.9456 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.7239, allocations: 117.2 kB / 0.9457 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.7252, allocations: 0.6702 MB / 0.9463 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.7263, allocations: 0.5396 MB / 0.9469 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.727, allocations: 0.9754 MB / 0.9478 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.7273, allocations: 201.5 kB / 0.948 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.7277, allocations: 308.9 kB / 0.9483 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.7279, allocations: 229.8 kB / 0.9485 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.728, allocations: 14.31 kB / 0.9485 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.7293, allocations: 1.011 MB / 0.9495 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.7294, allocations: 100.8 kB / 0.9496 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.7296, allocations: 154.3 kB / 0.9498 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009502/0.7306, allocations: 0.7664 MB / 0.9505 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7306, allocations: 3 kB / 0.9505 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.01e-07/0.7306, allocations: 5.094 kB / 0.9505 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7306, allocations: 0 / 0.9505 GB, free: 5.578 MB / 0.7325 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.001/0.7316, allocations: 0.6472 MB / 0.9512 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7316, allocations: 9.438 kB / 0.9512 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.7317, allocations: 55.67 kB / 0.9512 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7328, allocations: 158.5 kB / 0.9514 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.7332, allocations: 313.5 kB / 0.9517 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.7332, allocations: 15.69 kB / 0.9517 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.7332, allocations: 22.16 kB / 0.9517 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.7337, allocations: 278.7 kB / 0.952 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7337, allocations: 4.562 kB / 0.952 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.7337, allocations: 13.62 kB / 0.952 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.7338, allocations: 9.188 kB / 0.952 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.7342, allocations: 191 kB / 0.9522 GB, free: 20.72 MB / 0.7481 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.001163/0.7353, allocations: 1.208 MB / 0.9534 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.7356, allocations: 142.3 kB / 0.9535 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.7358, allocations: 93.98 kB / 0.9536 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.7363, allocations: 300.3 kB / 0.9539 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.7364, allocations: 42.34 kB / 0.9539 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.7364, allocations: 1.203 kB / 0.9539 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0006848/0.7371, allocations: 279.2 kB / 0.9542 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.7371, allocations: 56.53 kB / 0.9542 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.7374, allocations: 314.5 kB / 0.9545 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7374, allocations: 29.61 kB / 0.9546 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7375, allocations: 185 kB / 0.9547 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.7376, allocations: 53.03 kB / 0.9548 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.7376, allocations: 45.92 kB / 0.9548 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.7377, allocations: 338.8 kB / 0.9552 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.7379, allocations: 64.98 kB / 0.9552 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.7381, allocations: 129.4 kB / 0.9553 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.7384, allocations: 190.6 kB / 0.9555 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7384, allocations: 0 / 0.9555 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004265/0.7388, allocations: 239.4 kB / 0.9557 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7389, allocations: 5.562 kB / 0.9558 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7389, allocations: 1.5 kB / 0.9558 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.7389, allocations: 2.812 kB / 0.9558 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.7391, allocations: 47.52 kB / 0.9558 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.7391, allocations: 2.031 kB / 0.9558 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.7393, allocations: 35.91 kB / 0.9558 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.7393, allocations: 10.75 kB / 0.9558 GB, free: 18.61 MB / 0.7481 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.0001306/0.7395, allocations: 153.8 kB / 0.956 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.7395, allocations: 30.22 kB / 0.956 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.74, allocations: 224 kB / 0.9562 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.74, allocations: 1.562 kB / 0.9562 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.74, allocations: 3.406 kB / 0.9562 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7401, allocations: 0.5 kB / 0.9562 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.7411, allocations: 0.6819 MB / 0.9569 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7411, allocations: 1.625 kB / 0.9569 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7413, allocations: 37.2 kB / 0.9569 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.7413, allocations: 6.688 kB / 0.957 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.7413, allocations: 7.688 kB / 0.957 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.7413, allocations: 5.953 kB / 0.957 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7413, allocations: 2.469 kB / 0.957 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.742, allocations: 435.2 kB / 0.9574 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7421, allocations: 123.9 kB / 0.9575 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.7422, allocations: 15.2 kB / 0.9575 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.7424, allocations: 17.67 kB / 0.9575 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.7424, allocations: 13.39 kB / 0.9575 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.7424, allocations: 5.406 kB / 0.9576 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002588/0.7427, allocations: 228.1 kB / 0.9578 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7427, allocations: 1.797 kB / 0.9578 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004593/0.7432, allocations: 77.19 kB / 0.9578 GB, free: 17.65 MB / 0.7481 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.001019/0.7442, allocations: 1.022 MB / 0.9588 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.7446, allocations: 176.3 kB / 0.959 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7446, allocations: 0 / 0.959 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.7448, allocations: 86.8 kB / 0.9591 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.7456, allocations: 162.8 kB / 0.9592 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.7487, allocations: 2.997 MB / 0.9622 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.749, allocations: 0.7823 MB / 0.9629 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.7492, allocations: 72.12 kB / 0.963 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.7493, allocations: 90.44 kB / 0.9631 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.7493, allocations: 0 / 0.9631 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.875/2.624, allocations: 8.345 MB / 0.9712 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/2.625, allocations: 234 kB / 0.9715 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/5.076, allocations: 1.344 kB / 0.9715 GB, free: 13.49 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)