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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 189.9 kB / 16.13 MB, free: 6.656 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.9624/0.9624, allocations: 143 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4491/0.605, allocations: 191.7 MB / 0.7808 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009785/0.6148, allocations: 6.996 MB / 0.7876 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.616, allocations: 43.69 kB / 0.7877 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.6176, allocations: 0.5632 MB / 0.7882 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.6235, allocations: 2.184 MB / 0.7904 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.6268, allocations: 1.283 MB / 0.7916 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003872/0.6307, allocations: 3.74 MB / 0.7953 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.6318, allocations: 0.797 MB / 0.796 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.6334, allocations: 0.9725 MB / 0.797 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.6349, allocations: 0.8104 MB / 0.7978 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.6351, allocations: 44 kB / 0.7978 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.639, allocations: 2.225 MB / 0.8 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.6394, allocations: 318.9 kB / 0.8003 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.64, allocations: 0.5322 MB / 0.8008 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.6432, allocations: 2.497 MB / 0.8033 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6432, allocations: 4 kB / 0.8033 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6432, allocations: 0 / 0.8033 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.6432, allocations: 3.938 kB / 0.8033 GB, free: 7.012 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.00335/0.6466, allocations: 1.639 MB / 0.8049 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6467, allocations: 8.031 kB / 0.8049 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.6497, allocations: 0.5447 MB / 0.8054 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.6517, allocations: 0.9857 MB / 0.8064 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.6528, allocations: 277 kB / 0.8066 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6529, allocations: 75.98 kB / 0.8067 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.6553, allocations: 1.124 MB / 0.8078 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6554, allocations: 3.938 kB / 0.8078 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/0.6555, allocations: 31.94 kB / 0.8078 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.6555, allocations: 29.3 kB / 0.8079 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.6586, allocations: 1.2 MB / 0.809 GB, free: 0.9727 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.00556/0.6641, allocations: 3.208 MB / 0.8122 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6658, allocations: 0.688 MB / 0.8128 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.6666, allocations: 424.6 kB / 0.8132 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008078/0.6674, allocations: 1.021 MB / 0.8142 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009836/0.6684, allocations: 0.5182 MB / 0.8147 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.174e-06/0.6684, allocations: 0 / 0.8147 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002877/0.6713, allocations: 1.217 MB / 0.8159 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.6714, allocations: 148.8 kB / 0.8161 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.6732, allocations: 1.196 MB / 0.8172 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.6733, allocations: 41.7 kB / 0.8173 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.6736, allocations: 433.5 kB / 0.8177 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.6738, allocations: 185.3 kB / 0.8179 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.6741, allocations: 153.9 kB / 0.818 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.6742, allocations: 334 kB / 0.8183 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.6755, allocations: 448.9 kB / 0.8188 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.6769, allocations: 0.6171 MB / 0.8194 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.679, allocations: 0.95 MB / 0.8203 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.679, allocations: 0 / 0.8203 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003226/0.6823, allocations: 1.236 MB / 0.8215 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.6823, allocations: 37.69 kB / 0.8215 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6823, allocations: 4 kB / 0.8215 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.6824, allocations: 8 kB / 0.8216 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.6834, allocations: 196 kB / 0.8217 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.6834, allocations: 11.94 kB / 0.8218 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6851, allocations: 278.8 kB / 0.822 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6852, allocations: 39.97 kB / 0.8221 GB, free: 3.094 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.0004962/0.6857, allocations: 319.4 kB / 0.8224 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.6859, allocations: 114.6 kB / 0.8225 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.6881, allocations: 0.9989 MB / 0.8234 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.6882, allocations: 15.98 kB / 0.8235 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6882, allocations: 7.938 kB / 0.8235 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6882, allocations: 0 / 0.8235 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.693, allocations: 3.174 MB / 0.8266 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.6931, allocations: 4 kB / 0.8266 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.6937, allocations: 120.1 kB / 0.8267 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.6937, allocations: 12 kB / 0.8267 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.6938, allocations: 23.98 kB / 0.8267 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.6938, allocations: 15.94 kB / 0.8267 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.6938, allocations: 15.92 kB / 0.8268 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.6961, allocations: 1.34 MB / 0.8281 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.6966, allocations: 331.4 kB / 0.8284 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.6968, allocations: 20 kB / 0.8284 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.6981, allocations: 111.9 kB / 0.8285 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6982, allocations: 59.77 kB / 0.8286 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/0.6983, allocations: 39.97 kB / 0.8286 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001703/0.7, allocations: 0.8716 MB / 0.8294 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.835e-06/0.7, allocations: 0 / 0.8294 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001152/0.7012, allocations: 299.8 kB / 0.8297 GB, free: 10.91 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.0008114/0.702, allocations: 359.7 kB / 0.8301 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.7045, allocations: 1.013 MB / 0.8311 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7045, allocations: 0 / 0.8311 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.7055, allocations: 0.5125 MB / 0.8316 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.7082, allocations: 0.5294 MB / 0.8321 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.7122, allocations: 2.35 MB / 0.8344 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.7129, allocations: 1.073 MB / 0.8354 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001176/0.7141, allocations: 275.4 kB / 0.8357 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.7143, allocations: 83.36 kB / 0.8358 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7144, allocations: 0 / 0.8358 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of Templates: time 0.2749/0.9893, allocations: 21.41 MB / 0.8567 GB, free: 210.8 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)