Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001366/0.001366, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9466/0.9466, allocations: 143 MB / 433.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 82.05 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4134/0.5745, allocations: 165.1 MB / 0.7555 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.5774, allocations: 1.563 MB / 0.7571 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.5778, allocations: 15.88 kB / 0.7571 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.5783, allocations: 119.1 kB / 0.7572 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.5799, allocations: 0.6731 MB / 0.7578 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.5813, allocations: 0.5405 MB / 0.7584 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.5824, allocations: 0.9781 MB / 0.7593 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.5827, allocations: 189.4 kB / 0.7595 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.5833, allocations: 310.7 kB / 0.7598 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.5836, allocations: 231.1 kB / 0.76 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.5837, allocations: 16 kB / 0.76 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.5854, allocations: 1.009 MB / 0.761 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.5856, allocations: 99.69 kB / 0.7611 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.5858, allocations: 163.2 kB / 0.7613 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.5865, allocations: 0.5068 MB / 0.7618 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5865, allocations: 0 / 0.7618 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5865, allocations: 0 / 0.7618 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5865, allocations: 0 / 0.7618 GB, free: 2.348 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.0009347/0.5875, allocations: 0.6579 MB / 0.7624 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5875, allocations: 8.031 kB / 0.7624 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.5887, allocations: 155.4 kB / 0.7626 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.5891, allocations: 301.7 kB / 0.7629 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.5891, allocations: 20.44 kB / 0.7629 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.5892, allocations: 20 kB / 0.7629 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.5897, allocations: 271.5 kB / 0.7632 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5897, allocations: 11.92 kB / 0.7632 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.5897, allocations: 12 kB / 0.7632 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5898, allocations: 8 kB / 0.7632 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.5901, allocations: 191.8 kB / 0.7634 GB, free: 0.6016 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.001355/0.5915, allocations: 1.214 MB / 0.7646 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.5918, allocations: 130.5 kB / 0.7647 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.592, allocations: 89.64 kB / 0.7648 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000636/0.5926, allocations: 303.2 kB / 0.7651 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.5927, allocations: 46.48 kB / 0.7651 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.905e-06/0.5927, allocations: 0 / 0.7651 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000751/0.5934, allocations: 278.2 kB / 0.7654 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.5935, allocations: 59.41 kB / 0.7654 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.5938, allocations: 312.5 kB / 0.7657 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5938, allocations: 29.7 kB / 0.7657 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.5939, allocations: 180.1 kB / 0.7659 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.594, allocations: 55.28 kB / 0.766 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.5941, allocations: 45.61 kB / 0.766 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5942, allocations: 342.8 kB / 0.7663 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.5944, allocations: 67.95 kB / 0.7664 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.5946, allocations: 124 kB / 0.7665 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.5949, allocations: 198.6 kB / 0.7667 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5949, allocations: 0 / 0.7667 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004468/0.5954, allocations: 233.8 kB / 0.7669 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5954, allocations: 7.938 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5954, allocations: 4 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5954, allocations: 4.094 kB / 0.767 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5956, allocations: 39.92 kB / 0.767 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5957, allocations: 4 kB / 0.767 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.5959, allocations: 36.28 kB / 0.767 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5959, allocations: 8 kB / 0.767 GB, free: 12.58 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.0001384/0.5961, allocations: 153.7 kB / 0.7672 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.5961, allocations: 31.62 kB / 0.7672 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.5966, allocations: 220.2 kB / 0.7674 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5966, allocations: 4 kB / 0.7674 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5966, allocations: 0 / 0.7674 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5966, allocations: 0 / 0.7674 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.5976, allocations: 0.6834 MB / 0.7681 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5976, allocations: 4 kB / 0.7681 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.5978, allocations: 36.14 kB / 0.7681 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5978, allocations: 4 kB / 0.7681 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.5978, allocations: 7.938 kB / 0.7681 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5979, allocations: 4 kB / 0.7681 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5979, allocations: 4 kB / 0.7681 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.5985, allocations: 434.1 kB / 0.7686 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5986, allocations: 124.7 kB / 0.7687 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.5986, allocations: 15.92 kB / 0.7687 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.5988, allocations: 16.05 kB / 0.7687 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.5989, allocations: 19.92 kB / 0.7687 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5989, allocations: 4 kB / 0.7687 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002056/0.5991, allocations: 223.1 kB / 0.7689 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5991, allocations: 0 / 0.7689 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003907/0.5995, allocations: 75.89 kB / 0.769 GB, free: 10.4 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.0003507/0.5999, allocations: 172.9 kB / 0.7692 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.6003, allocations: 174.6 kB / 0.7694 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6003, allocations: 8 kB / 0.7694 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6005, allocations: 83.83 kB / 0.7694 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.6014, allocations: 165.2 kB / 0.7696 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.6024, allocations: 0.7119 MB / 0.7703 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6027, allocations: 0.7758 MB / 0.7711 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.6028, allocations: 31.44 kB / 0.7711 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6028, allocations: 0 / 0.7711 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.007003/0.6098, allocations: 4.814 MB / 0.7758 GB, free: 3.488 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)