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.001162/0.001162, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.001069/0.001069, allocations: 191.7 kB / 17.3 MB, free: 5.613 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8663/0.8663, allocations: 143.1 MB / 434.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4559, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5791/1.035, allocations: 167.4 MB / 0.7592 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002607/1.038, allocations: 1.545 MB / 0.7607 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/1.038, allocations: 16.81 kB / 0.7607 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004932/1.039, allocations: 150.5 kB / 0.7608 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/1.041, allocations: 0.696 MB / 0.7615 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/1.042, allocations: 0.6027 MB / 0.7621 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001153/1.043, allocations: 0.7061 MB / 0.7628 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/1.044, allocations: 230.9 kB / 0.763 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/1.045, allocations: 335.8 kB / 0.7633 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/1.045, allocations: 229.1 kB / 0.7636 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/1.045, allocations: 22.88 kB / 0.7636 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/1.047, allocations: 0.8662 MB / 0.7644 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/1.047, allocations: 106.2 kB / 0.7645 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/1.047, allocations: 166.6 kB / 0.7647 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/1.048, allocations: 0.7332 MB / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.048, allocations: 1.688 kB / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.724e-06/1.048, allocations: 1 kB / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.048, allocations: 0 / 0.7654 GB, free: 1.539 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.001084/1.049, allocations: 0.6577 MB / 0.766 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.049, allocations: 8.625 kB / 0.7661 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.051, allocations: 152.4 kB / 0.7662 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/1.051, allocations: 328.1 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/1.051, allocations: 17.69 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/1.051, allocations: 21.94 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/1.052, allocations: 275.2 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.052, allocations: 1.781 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/1.052, allocations: 8.969 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.052, allocations: 6.531 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/1.052, allocations: 196.7 kB / 0.767 GB, free: 16.73 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.001435/1.054, allocations: 1.21 MB / 0.7682 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/1.054, allocations: 131.9 kB / 0.7683 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/1.054, allocations: 91.64 kB / 0.7684 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/1.055, allocations: 305.3 kB / 0.7687 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.055, allocations: 33.88 kB / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/1.055, allocations: 0 / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009107/1.056, allocations: 287 kB / 0.769 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.056, allocations: 57.5 kB / 0.7691 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/1.056, allocations: 316.8 kB / 0.7694 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.056, allocations: 31.59 kB / 0.7694 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.057, allocations: 183.4 kB / 0.7696 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/1.057, allocations: 51.73 kB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/1.057, allocations: 47.17 kB / 0.7697 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.057, allocations: 342.8 kB / 0.77 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/1.057, allocations: 67.14 kB / 0.7701 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/1.057, allocations: 123.6 kB / 0.7702 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/1.058, allocations: 186.2 kB / 0.7704 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.058, allocations: 2.062 kB / 0.7704 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004363/1.058, allocations: 235.1 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.058, allocations: 5.719 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.058, allocations: 2.328 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.058, allocations: 5.125 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.058, allocations: 48.67 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.058, allocations: 5.094 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/1.058, allocations: 30.53 kB / 0.7707 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/1.058, allocations: 6 kB / 0.7707 GB, free: 14.67 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.0001799/1.059, allocations: 156.5 kB / 0.7708 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/1.059, allocations: 30.25 kB / 0.7709 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/1.059, allocations: 216.2 kB / 0.7711 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.059, allocations: 6.797 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.059, allocations: 3.938 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.059, allocations: 1.203 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/1.06, allocations: 0.6863 MB / 0.7717 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.06, allocations: 3.344 kB / 0.7717 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/1.06, allocations: 33.86 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.06, allocations: 2.656 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.06, allocations: 6.938 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.06, allocations: 2.75 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.06, allocations: 2.219 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/1.061, allocations: 432.4 kB / 0.7722 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.061, allocations: 127.5 kB / 0.7723 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/1.061, allocations: 7.844 kB / 0.7723 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/1.061, allocations: 11.12 kB / 0.7723 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/1.061, allocations: 19.48 kB / 0.7724 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/1.061, allocations: 8.875 kB / 0.7724 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001777/1.061, allocations: 225.4 kB / 0.7726 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 0.7726 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000389/1.062, allocations: 81.91 kB / 0.7727 GB, free: 13.72 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.0003852/1.062, allocations: 178.1 kB / 0.7728 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003845/1.063, allocations: 172.4 kB / 0.773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.063, allocations: 0.5 kB / 0.773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.063, allocations: 91.33 kB / 0.7731 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/1.064, allocations: 168.1 kB / 0.7732 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/1.065, allocations: 0.5969 MB / 0.7738 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.065, allocations: 0.7771 MB / 0.7746 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.065, allocations: 69.3 kB / 0.7747 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/1.065, allocations: 26.28 kB / 0.7747 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/1.065, allocations: 1.203 kB / 0.7747 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.009345/1.075, allocations: 5.75 MB / 0.7803 GB, free: 12.38 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)