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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00111/0.00111, allocations: 196.1 kB / 16.14 MB, free: 6.715 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 289.6 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8664/0.8664, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 91.92 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 86.98 MB / 0.6795 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4078/0.5535, allocations: 165.1 MB / 0.8408 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.5558, allocations: 1.552 MB / 0.8423 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.556, allocations: 10.22 kB / 0.8423 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.5564, allocations: 123.8 kB / 0.8424 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.5578, allocations: 0.6627 MB / 0.8431 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.559, allocations: 0.5497 MB / 0.8436 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.5598, allocations: 0.9834 MB / 0.8446 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.5601, allocations: 188.9 kB / 0.8447 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.5605, allocations: 306.4 kB / 0.845 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.5608, allocations: 228.2 kB / 0.8453 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.5608, allocations: 15.69 kB / 0.8453 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.5621, allocations: 1.013 MB / 0.8463 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.5623, allocations: 110 kB / 0.8464 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.5624, allocations: 153 kB / 0.8465 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.5633, allocations: 0.7719 MB / 0.8473 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5633, allocations: 2.719 kB / 0.8473 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5633, allocations: 0 / 0.8473 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5633, allocations: 0 / 0.8473 GB, free: 13.19 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.0007809/0.5641, allocations: 0.6485 MB / 0.8479 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5641, allocations: 11.5 kB / 0.8479 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.5642, allocations: 58.02 kB / 0.848 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.5653, allocations: 150.7 kB / 0.8481 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.5656, allocations: 310.4 kB / 0.8484 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5657, allocations: 18.47 kB / 0.8484 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.5657, allocations: 20 kB / 0.8484 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.5661, allocations: 279.6 kB / 0.8487 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5662, allocations: 2.531 kB / 0.8487 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.5662, allocations: 8 kB / 0.8487 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5662, allocations: 7.625 kB / 0.8487 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.5666, allocations: 200.9 kB / 0.8489 GB, free: 11.89 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.5678, allocations: 1.212 MB / 0.8501 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.568, allocations: 131.5 kB / 0.8502 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.5682, allocations: 94.27 kB / 0.8503 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005619/0.5687, allocations: 303.4 kB / 0.8506 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.5688, allocations: 38.5 kB / 0.8506 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.5688, allocations: 0 / 0.8506 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006772/0.5695, allocations: 280.4 kB / 0.8509 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.5695, allocations: 53.97 kB / 0.851 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.5698, allocations: 311.9 kB / 0.8513 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.5698, allocations: 32.42 kB / 0.8513 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5699, allocations: 179.8 kB / 0.8515 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.57, allocations: 57.27 kB / 0.8515 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.57, allocations: 45.8 kB / 0.8516 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.5701, allocations: 338.3 kB / 0.8519 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.5703, allocations: 65.73 kB / 0.8519 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.5705, allocations: 129.8 kB / 0.8521 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.5708, allocations: 187.1 kB / 0.8522 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5708, allocations: 0 / 0.8522 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004056/0.5712, allocations: 246.9 kB / 0.8525 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5713, allocations: 7.625 kB / 0.8525 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5713, allocations: 5.125 kB / 0.8525 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5713, allocations: 3.938 kB / 0.8525 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.5715, allocations: 44.5 kB / 0.8525 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5715, allocations: 3.781 kB / 0.8525 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.5717, allocations: 34.77 kB / 0.8526 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5717, allocations: 13.03 kB / 0.8526 GB, free: 8.852 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.0001265/0.5718, allocations: 155.9 kB / 0.8527 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.5719, allocations: 25.28 kB / 0.8528 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.5723, allocations: 222.3 kB / 0.853 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5723, allocations: 3.984 kB / 0.853 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5723, allocations: 1.406 kB / 0.853 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5723, allocations: 0 / 0.853 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.5732, allocations: 0.6849 MB / 0.8537 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5732, allocations: 2.438 kB / 0.8537 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.5734, allocations: 30.73 kB / 0.8537 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5734, allocations: 8.438 kB / 0.8537 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5734, allocations: 6.828 kB / 0.8537 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5734, allocations: 6.656 kB / 0.8537 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5734, allocations: 2.25 kB / 0.8537 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.574, allocations: 429.8 kB / 0.8541 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5741, allocations: 130.4 kB / 0.8542 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.5742, allocations: 13.75 kB / 0.8543 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.5743, allocations: 11.05 kB / 0.8543 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.5744, allocations: 13.11 kB / 0.8543 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.5744, allocations: 7 kB / 0.8543 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5746, allocations: 225.6 kB / 0.8545 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5746, allocations: 4 kB / 0.8545 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003361/0.5749, allocations: 71.75 kB / 0.8546 GB, free: 7.336 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.001015/0.576, allocations: 1.041 MB / 0.8556 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.5763, allocations: 159 kB / 0.8557 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5763, allocations: 3.938 kB / 0.8557 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5765, allocations: 88.16 kB / 0.8558 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.5773, allocations: 165 kB / 0.856 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.5804, allocations: 2.999 MB / 0.8589 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.5807, allocations: 0.7767 MB / 0.8597 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.5809, allocations: 62.22 kB / 0.8597 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.581, allocations: 91.09 kB / 0.8598 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.581, allocations: 0 / 0.8598 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.541/2.123, allocations: 8.378 MB / 0.868 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/2.123, allocations: 257.1 kB / 0.8682 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/4.736, allocations: 0 / 0.8682 GB, free: 14.81 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)