Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006137/0.006137, allocations: 102 kB / 15.73 MB, free: 6.039 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: 194.5 kB / 16.67 MB, free: 5.961 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8662/0.8662, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.56 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1774, allocations: 82.03 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6127/0.7901, allocations: 194.1 MB / 0.8652 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.8004, allocations: 6.937 MB / 0.8719 GB, free: 5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.8022, allocations: 43.75 kB / 0.872 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.8039, allocations: 0.6908 MB / 0.8727 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.81, allocations: 2.338 MB / 0.8749 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.8136, allocations: 1.429 MB / 0.8763 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.8176, allocations: 3.001 MB / 0.8793 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.8189, allocations: 0.8873 MB / 0.8801 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.8215, allocations: 1.143 MB / 0.8813 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.8227, allocations: 0.8006 MB / 0.882 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.8229, allocations: 100 kB / 0.8821 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.8269, allocations: 2.054 MB / 0.8841 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.8273, allocations: 378.8 kB / 0.8845 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007199/0.828, allocations: 0.5831 MB / 0.8851 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.8318, allocations: 2.501 MB / 0.8875 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8318, allocations: 0 / 0.8875 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8319, allocations: 4 kB / 0.8875 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.8319, allocations: 4 kB / 0.8875 GB, free: 5.039 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003446/0.8353, allocations: 1.629 MB / 0.8891 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.8354, allocations: 12.03 kB / 0.8891 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.8384, allocations: 0.5447 MB / 0.8896 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.8407, allocations: 1.041 MB / 0.8907 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.8408, allocations: 53.31 kB / 0.8907 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.8409, allocations: 67.98 kB / 0.8908 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.8434, allocations: 1.105 MB / 0.8919 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8434, allocations: 0 / 0.8919 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.8435, allocations: 31.94 kB / 0.8919 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.8435, allocations: 37.23 kB / 0.8919 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.8466, allocations: 1.161 MB / 0.8931 GB, free: 15.23 MB / 0.67 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.005913/0.8525, allocations: 3.171 MB / 0.8962 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.8543, allocations: 0.6861 MB / 0.8968 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.8551, allocations: 423 kB / 0.8972 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008949/0.856, allocations: 1.021 MB / 0.8982 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.8571, allocations: 0.522 MB / 0.8987 GB, free: 9.078 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.504e-06/0.8571, allocations: 0 / 0.8987 GB, free: 9.078 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.0031/0.8602, allocations: 1.221 MB / 0.8999 GB, free: 7.848 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.8603, allocations: 136.9 kB / 0.9001 GB, free: 7.684 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.8623, allocations: 1.184 MB / 0.9012 GB, free: 6.484 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.453e-05/0.8624, allocations: 37.7 kB / 0.9013 GB, free: 6.441 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.8628, allocations: 437.5 kB / 0.9017 GB, free: 6.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.863, allocations: 189.2 kB / 0.9018 GB, free: 5.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.8632, allocations: 138.1 kB / 0.902 GB, free: 5.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8634, allocations: 334 kB / 0.9023 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.8646, allocations: 436.9 kB / 0.9027 GB, free: 4.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.8661, allocations: 0.5976 MB / 0.9033 GB, free: 4.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.8683, allocations: 0.9301 MB / 0.9042 GB, free: 3.293 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.8683, allocations: 3.938 kB / 0.9042 GB, free: 3.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003244/0.8715, allocations: 1.197 MB / 0.9054 GB, free: 2.074 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.8716, allocations: 37.69 kB / 0.9054 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8716, allocations: 4 kB / 0.9054 GB, free: 2.027 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8716, allocations: 4 kB / 0.9054 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.8726, allocations: 187.8 kB / 0.9056 GB, free: 1.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.8726, allocations: 11.94 kB / 0.9056 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.8742, allocations: 250.8 kB / 0.9059 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.8743, allocations: 35.97 kB / 0.9059 GB, free: 1.547 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004997/0.8748, allocations: 335.2 kB / 0.9062 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.875, allocations: 114.7 kB / 0.9063 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.8771, allocations: 0.9954 MB / 0.9073 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.8772, allocations: 8 kB / 0.9073 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.8772, allocations: 3.938 kB / 0.9073 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.8772, allocations: 4.5 kB / 0.9073 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.8822, allocations: 3.163 MB / 0.9104 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8822, allocations: 12.16 kB / 0.9104 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.8828, allocations: 115.8 kB / 0.9105 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.8829, allocations: 12 kB / 0.9105 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.8829, allocations: 27.97 kB / 0.9106 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/0.8829, allocations: 11.94 kB / 0.9106 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.8829, allocations: 15.94 kB / 0.9106 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.8852, allocations: 1.333 MB / 0.9119 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.8858, allocations: 331.3 kB / 0.9122 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.8859, allocations: 31.98 kB / 0.9122 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8871, allocations: 99.84 kB / 0.9123 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.8872, allocations: 63.75 kB / 0.9124 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.8873, allocations: 35.97 kB / 0.9124 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001462/0.8887, allocations: 0.8521 MB / 0.9133 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8887, allocations: 0 / 0.9133 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001043/0.8898, allocations: 303.8 kB / 0.9135 GB, free: 9.387 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0006736/0.8905, allocations: 345.2 kB / 0.9139 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.8929, allocations: 1.017 MB / 0.9149 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.8929, allocations: 4 kB / 0.9149 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000942/0.8939, allocations: 0.513 MB / 0.9154 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.8966, allocations: 0.5466 MB / 0.9159 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.9001, allocations: 2.029 MB / 0.9179 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.9007, allocations: 1.069 MB / 0.9189 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009393/0.9017, allocations: 281.7 kB / 0.9192 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.9019, allocations: 87.34 kB / 0.9193 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/0.902, allocations: 0 / 0.9193 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.03743/0.9394, allocations: 22.65 MB / 0.9414 GB, free: 12.91 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)