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.0009128/0.0009125, allocations: 91.84 kB / 16.02 MB, free: 76 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.001124/0.001124, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.355 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 1.066/1.066, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 8 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 83.4 MB / 0.5985 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5558/0.7322, allocations: 189.2 MB / 0.7832 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.7429, allocations: 6.926 MB / 0.79 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.7445, allocations: 43.69 kB / 0.79 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.7462, allocations: 0.5554 MB / 0.7906 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.7528, allocations: 2.187 MB / 0.7927 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.7561, allocations: 1.285 MB / 0.794 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.7608, allocations: 3.747 MB / 0.7976 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.7621, allocations: 0.7768 MB / 0.7984 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.7641, allocations: 0.9529 MB / 0.7993 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.7658, allocations: 0.7918 MB / 0.8001 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.7659, allocations: 40 kB / 0.8001 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.7701, allocations: 2.221 MB / 0.8023 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.7705, allocations: 306.9 kB / 0.8026 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/0.7711, allocations: 0.5534 MB / 0.8031 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.7735, allocations: 1.82 MB / 0.8049 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7735, allocations: 0 / 0.8049 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7735, allocations: 0 / 0.8049 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.7736, allocations: 0 / 0.8049 GB, free: 8.684 MB / 0.6231 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.003209/0.7768, allocations: 1.396 MB / 0.8063 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7768, allocations: 8.031 kB / 0.8063 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.7799, allocations: 0.6074 MB / 0.8069 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.7821, allocations: 0.9957 MB / 0.8078 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.7833, allocations: 317 kB / 0.8081 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.7835, allocations: 68 kB / 0.8082 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.786, allocations: 1.152 MB / 0.8093 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.7861, allocations: 3.938 kB / 0.8093 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.7862, allocations: 24 kB / 0.8094 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.7862, allocations: 41.3 kB / 0.8094 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.7896, allocations: 1.246 MB / 0.8106 GB, free: 2.703 MB / 0.6231 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.006446/0.796, allocations: 3.258 MB / 0.8138 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.7979, allocations: 0.7076 MB / 0.8145 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/0.7988, allocations: 442.8 kB / 0.8149 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.7998, allocations: 1.017 MB / 0.8159 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.8009, allocations: 0.5221 MB / 0.8164 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 4.258e-06/0.8009, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003278/0.8042, allocations: 1.244 MB / 0.8176 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8044, allocations: 148.8 kB / 0.8178 GB, free: 11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.8068, allocations: 1.223 MB / 0.819 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.807, allocations: 37.7 kB / 0.819 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.8074, allocations: 437.4 kB / 0.8194 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.8076, allocations: 185.4 kB / 0.8196 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.8078, allocations: 53.69 kB / 0.8196 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8079, allocations: 330 kB / 0.82 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.8093, allocations: 488.9 kB / 0.8204 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.8109, allocations: 0.6421 MB / 0.8211 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.8132, allocations: 0.9731 MB / 0.822 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.8132, allocations: 0 / 0.822 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003629/0.8168, allocations: 1.291 MB / 0.8233 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.8169, allocations: 42.47 kB / 0.8233 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8169, allocations: 4 kB / 0.8233 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.817, allocations: 8 kB / 0.8233 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.818, allocations: 212 kB / 0.8235 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.818, allocations: 11.92 kB / 0.8235 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.8201, allocations: 309.3 kB / 0.8238 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.8202, allocations: 35.97 kB / 0.8239 GB, free: 4.605 MB / 0.6387 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.0006362/0.8209, allocations: 319.4 kB / 0.8242 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.8212, allocations: 126.5 kB / 0.8243 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.8235, allocations: 1.012 MB / 0.8253 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.8236, allocations: 8 kB / 0.8253 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.8236, allocations: 3.938 kB / 0.8253 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8236, allocations: 11.86 kB / 0.8253 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.829, allocations: 3.17 MB / 0.8284 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.829, allocations: 8 kB / 0.8284 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.8297, allocations: 128.2 kB / 0.8285 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.8297, allocations: 8 kB / 0.8285 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.8298, allocations: 27.98 kB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.727e-05/0.8298, allocations: 21.41 kB / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8298, allocations: 11.94 kB / 0.8286 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.8322, allocations: 1.371 MB / 0.8299 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.8328, allocations: 331.4 kB / 0.8302 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.8331, allocations: 20 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.8344, allocations: 123.9 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.8345, allocations: 59.77 kB / 0.8304 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/0.8346, allocations: 47.91 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001926/0.8366, allocations: 0.8911 MB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8366, allocations: 0 / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001303/0.8379, allocations: 291.8 kB / 0.8316 GB, free: 12.33 MB / 0.6544 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.0008904/0.8388, allocations: 354 kB / 0.832 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.8415, allocations: 1.049 MB / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.8415, allocations: 0 / 0.833 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8426, allocations: 0.5203 MB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/0.8468, allocations: 0.5373 MB / 0.834 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.8512, allocations: 2.412 MB / 0.8364 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/0.8521, allocations: 1.065 MB / 0.8374 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.8525, allocations: 87.41 kB / 0.8375 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/0.8525, allocations: 11.94 kB / 0.8375 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of Templates: time 0.03127/0.8838, allocations: 18.74 MB / 0.8558 GB, free: 3.559 MB / 0.67 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)