Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 107.5 kB / 17.08 MB, free: 5.988 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.001373/0.001373, allocations: 196.1 kB / 18.01 MB, free: 5.074 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6671/0.6671, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.66 kB / 0.5584 GB, free: 31.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 76.18 MB / 0.6327 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5282/0.6587, allocations: 167.3 MB / 0.7962 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.6612, allocations: 1.547 MB / 0.7977 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.6615, allocations: 14.88 kB / 0.7977 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.662, allocations: 156.1 kB / 0.7978 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6636, allocations: 0.6916 MB / 0.7985 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.6651, allocations: 0.6028 MB / 0.7991 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.6657, allocations: 0.699 MB / 0.7998 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.6661, allocations: 234.8 kB / 0.8 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.6666, allocations: 336 kB / 0.8003 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.6668, allocations: 219.6 kB / 0.8005 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.6669, allocations: 29.25 kB / 0.8006 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.6681, allocations: 0.8655 MB / 0.8014 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.6682, allocations: 112.6 kB / 0.8015 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.6684, allocations: 165.8 kB / 0.8017 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.6693, allocations: 0.728 MB / 0.8024 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6693, allocations: 0 / 0.8024 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6693, allocations: 0 / 0.8024 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6693, allocations: 0 / 0.8024 GB, free: 12.17 MB / 0.5919 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.0008741/0.6702, allocations: 0.6465 MB / 0.803 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6702, allocations: 7.75 kB / 0.803 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.6713, allocations: 153.1 kB / 0.8032 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.6718, allocations: 327 kB / 0.8035 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.6719, allocations: 16.91 kB / 0.8035 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.6719, allocations: 22.44 kB / 0.8035 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.6724, allocations: 270.6 kB / 0.8038 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6724, allocations: 9.609 kB / 0.8038 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.6724, allocations: 13.59 kB / 0.8038 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.6724, allocations: 5.031 kB / 0.8038 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.6728, allocations: 192.2 kB / 0.804 GB, free: 11.33 MB / 0.5919 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.001328/0.6741, allocations: 1.207 MB / 0.8052 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.6744, allocations: 138.5 kB / 0.8053 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.6746, allocations: 96.16 kB / 0.8054 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/0.6751, allocations: 297.7 kB / 0.8057 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6752, allocations: 41.97 kB / 0.8057 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.6752, allocations: 4 kB / 0.8057 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006842/0.6759, allocations: 281.7 kB / 0.806 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6759, allocations: 55.41 kB / 0.806 GB, free: 10 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.6762, allocations: 313.5 kB / 0.8063 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6762, allocations: 28.61 kB / 0.8064 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.6764, allocations: 187.1 kB / 0.8065 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.6764, allocations: 49.45 kB / 0.8066 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.6765, allocations: 53.2 kB / 0.8066 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6767, allocations: 341.8 kB / 0.807 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.6768, allocations: 64.2 kB / 0.807 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.677, allocations: 123.8 kB / 0.8071 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.6773, allocations: 180.9 kB / 0.8073 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6773, allocations: 0 / 0.8073 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004016/0.6777, allocations: 249.3 kB / 0.8076 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6778, allocations: 9.594 kB / 0.8076 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6778, allocations: 0 / 0.8076 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6778, allocations: 2.094 kB / 0.8076 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.678, allocations: 44.42 kB / 0.8076 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.678, allocations: 6.031 kB / 0.8076 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.6782, allocations: 33.42 kB / 0.8076 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.6782, allocations: 11.41 kB / 0.8077 GB, free: 9.043 MB / 0.5919 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.0001355/0.6784, allocations: 156.5 kB / 0.8078 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.6784, allocations: 30.47 kB / 0.8078 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.6789, allocations: 217.3 kB / 0.808 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6789, allocations: 2.5 kB / 0.808 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6789, allocations: 0 / 0.808 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6789, allocations: 0 / 0.808 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.6798, allocations: 0.6929 MB / 0.8087 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6798, allocations: 0 / 0.8087 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.68, allocations: 29.2 kB / 0.8088 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.68, allocations: 5.797 kB / 0.8088 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.68, allocations: 13.28 kB / 0.8088 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.68, allocations: 6.344 kB / 0.8088 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.68, allocations: 0 / 0.8088 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.6806, allocations: 429.8 kB / 0.8092 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6807, allocations: 128.4 kB / 0.8093 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.6808, allocations: 12.19 kB / 0.8093 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.6809, allocations: 8.75 kB / 0.8093 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.681, allocations: 19.03 kB / 0.8093 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.681, allocations: 6 kB / 0.8094 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002044/0.6812, allocations: 227.8 kB / 0.8096 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6812, allocations: 0 / 0.8096 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003687/0.6816, allocations: 80.22 kB / 0.8096 GB, free: 7.816 MB / 0.5919 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.0003899/0.682, allocations: 168.1 kB / 0.8098 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.6824, allocations: 173.2 kB / 0.81 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6824, allocations: 2.719 kB / 0.81 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6826, allocations: 90.7 kB / 0.8101 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.6834, allocations: 165.2 kB / 0.8102 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.6844, allocations: 0.6202 MB / 0.8108 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.6847, allocations: 0.7856 MB / 0.8116 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.6848, allocations: 28.16 kB / 0.8116 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6848, allocations: 0 / 0.8116 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.006838/0.6917, allocations: 4.879 MB / 0.8164 GB, free: 3.934 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)