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.001248/0.001248, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001315/0.001315, allocations: 191 kB / 17.29 MB, free: 5.516 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 14.99 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.8516/0.8516, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3227, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4647/0.7874, allocations: 167.4 MB / 0.7591 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.7899, allocations: 1.556 MB / 0.7607 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.7902, allocations: 11.09 kB / 0.7607 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.7906, allocations: 152 kB / 0.7608 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.7922, allocations: 0.6984 MB / 0.7615 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.7938, allocations: 0.596 MB / 0.7621 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.7945, allocations: 0.7127 MB / 0.7628 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.7948, allocations: 222.7 kB / 0.763 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.7954, allocations: 339.9 kB / 0.7633 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.7957, allocations: 224.5 kB / 0.7635 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.7957, allocations: 23.25 kB / 0.7636 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.7971, allocations: 0.8678 MB / 0.7644 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.7973, allocations: 109.1 kB / 0.7645 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.7974, allocations: 165.4 kB / 0.7647 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.7985, allocations: 0.7384 MB / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7985, allocations: 5.734 kB / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7985, allocations: 0 / 0.7654 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7985, 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.0009983/0.7995, allocations: 0.6461 MB / 0.766 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7996, allocations: 11.42 kB / 0.766 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.8007, allocations: 153.2 kB / 0.7662 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.8012, allocations: 326.9 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.8012, allocations: 16.62 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.8013, allocations: 23.06 kB / 0.7665 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.8018, allocations: 278.9 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8018, allocations: 1.125 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.8018, allocations: 6.75 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8018, allocations: 6.156 kB / 0.7668 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.8022, allocations: 196.9 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.001326/0.8036, allocations: 1.216 MB / 0.7682 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.8038, allocations: 137.7 kB / 0.7683 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.8041, allocations: 92.56 kB / 0.7684 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.8047, allocations: 298.6 kB / 0.7687 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.8047, allocations: 36.44 kB / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.8047, allocations: 0.9375 kB / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008065/0.8055, allocations: 283.4 kB / 0.769 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.8056, allocations: 53.62 kB / 0.769 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.8059, allocations: 316.2 kB / 0.7693 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.8059, allocations: 32.08 kB / 0.7694 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.806, allocations: 185.4 kB / 0.7696 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.8061, allocations: 51.58 kB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.8062, allocations: 48.16 kB / 0.7697 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8063, allocations: 340.7 kB / 0.77 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.8064, allocations: 72.75 kB / 0.77 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.8066, allocations: 125 kB / 0.7702 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.8069, allocations: 186.3 kB / 0.7703 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8069, allocations: 0.875 kB / 0.7703 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003861/0.8073, allocations: 235.6 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.8073, allocations: 9.156 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.8073, allocations: 3.594 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8073, allocations: 2 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.8075, allocations: 44.3 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8076, allocations: 7.531 kB / 0.7706 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.8077, allocations: 27.31 kB / 0.7707 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.8078, allocations: 11.97 kB / 0.7707 GB, free: 14.66 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.0001278/0.8079, allocations: 151.6 kB / 0.7708 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.808, allocations: 31.31 kB / 0.7708 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.8084, allocations: 213.3 kB / 0.771 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8084, allocations: 6.656 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8084, allocations: 0.8438 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8084, allocations: 1.094 kB / 0.7711 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.8093, allocations: 0.6867 MB / 0.7717 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8093, allocations: 2.875 kB / 0.7717 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.8095, allocations: 36.98 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8095, allocations: 3.5 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.8095, allocations: 3.484 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8095, allocations: 6.875 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8095, allocations: 2.875 kB / 0.7718 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.81, allocations: 444.7 kB / 0.7722 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8102, allocations: 124 kB / 0.7723 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.8102, allocations: 9.188 kB / 0.7723 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8104, allocations: 8.609 kB / 0.7723 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.8104, allocations: 17.22 kB / 0.7724 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.8105, allocations: 8.062 kB / 0.7724 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001691/0.8106, allocations: 231.4 kB / 0.7726 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8106, allocations: 0 / 0.7726 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003737/0.811, allocations: 78.5 kB / 0.7727 GB, free: 13.71 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.0003254/0.8114, allocations: 167.8 kB / 0.7728 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.8118, allocations: 176.6 kB / 0.773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8118, allocations: 0 / 0.773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.812, allocations: 90.36 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.0008178/0.8128, allocations: 165 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.0008729/0.8137, allocations: 0.6004 MB / 0.7738 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.814, allocations: 0.7793 MB / 0.7746 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.8142, allocations: 61.58 kB / 0.7746 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.8143, allocations: 28.55 kB / 0.7747 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8143, allocations: 0 / 0.7747 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.008798/0.8231, allocations: 5.766 MB / 0.7803 GB, free: 12.37 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)