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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001798/0.001798, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.9628/0.9628, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.89 kB / 0.5137 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 82.04 MB / 0.5938 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4614/0.6462, allocations: 191.5 MB / 0.7808 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.6566, allocations: 6.893 MB / 0.7875 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.658, allocations: 39.75 kB / 0.7876 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.6599, allocations: 0.5944 MB / 0.7882 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.6656, allocations: 2.217 MB / 0.7903 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.669, allocations: 1.299 MB / 0.7916 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003938/0.673, allocations: 2.994 MB / 0.7945 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.6745, allocations: 0.9242 MB / 0.7954 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.6776, allocations: 1.149 MB / 0.7965 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.6794, allocations: 0.8405 MB / 0.7974 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.6798, allocations: 104 kB / 0.7975 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.6838, allocations: 2.139 MB / 0.7996 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.6845, allocations: 366.9 kB / 0.7999 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.6856, allocations: 0.5986 MB / 0.8005 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.6899, allocations: 2.559 MB / 0.803 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6899, allocations: 0 / 0.803 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.958e-06/0.6899, allocations: 3.984 kB / 0.803 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.69, allocations: 0 / 0.803 GB, free: 7.293 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.003969/0.6939, allocations: 1.629 MB / 0.8046 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.694, allocations: 12.62 kB / 0.8046 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.697, allocations: 0.5409 MB / 0.8051 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.6994, allocations: 0.9869 MB / 0.8061 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/0.7006, allocations: 277 kB / 0.8064 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.7008, allocations: 64 kB / 0.8064 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.7035, allocations: 1.124 MB / 0.8075 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.7035, allocations: 3.938 kB / 0.8075 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.7037, allocations: 31.94 kB / 0.8075 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.7037, allocations: 33.3 kB / 0.8076 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.7069, allocations: 1.207 MB / 0.8088 GB, free: 1.258 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.006164/0.7131, allocations: 3.203 MB / 0.8119 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.7148, allocations: 0.6841 MB / 0.8126 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.7156, allocations: 427.7 kB / 0.813 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/0.7165, allocations: 1.021 MB / 0.814 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.7176, allocations: 0.5104 MB / 0.8145 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.7176, allocations: 4 kB / 0.8145 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002997/0.7206, allocations: 1.221 MB / 0.8157 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.7207, allocations: 144.8 kB / 0.8158 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7228, allocations: 1.204 MB / 0.817 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.7229, allocations: 37.64 kB / 0.817 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.7233, allocations: 441.5 kB / 0.8174 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.7235, allocations: 185.3 kB / 0.8176 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.7238, allocations: 146 kB / 0.8177 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.724, allocations: 334 kB / 0.8181 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.7252, allocations: 464.9 kB / 0.8185 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.7267, allocations: 0.6132 MB / 0.8191 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.7287, allocations: 0.9457 MB / 0.82 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7287, allocations: 0 / 0.82 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003153/0.7319, allocations: 1.232 MB / 0.8212 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.7319, allocations: 37.69 kB / 0.8213 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.732, allocations: 4 kB / 0.8213 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.732, allocations: 4 kB / 0.8213 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.7329, allocations: 200 kB / 0.8215 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.733, allocations: 16.66 kB / 0.8215 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.7346, allocations: 274.9 kB / 0.8217 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.7347, allocations: 31.98 kB / 0.8218 GB, free: 3.383 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.0005312/0.7353, allocations: 329.5 kB / 0.8221 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.7356, allocations: 114.6 kB / 0.8222 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.7377, allocations: 1.006 MB / 0.8232 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7378, allocations: 8 kB / 0.8232 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7378, allocations: 3.938 kB / 0.8232 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.7378, allocations: 7.984 kB / 0.8232 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.7427, allocations: 3.17 MB / 0.8263 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.7427, allocations: 8 kB / 0.8263 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.7433, allocations: 128.2 kB / 0.8264 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.7434, allocations: 12 kB / 0.8264 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.7434, allocations: 20 kB / 0.8264 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.7435, allocations: 11.98 kB / 0.8265 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.7435, allocations: 11.94 kB / 0.8265 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.7457, allocations: 1.344 MB / 0.8278 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/0.7463, allocations: 331.4 kB / 0.8281 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.7465, allocations: 24 kB / 0.8281 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.7477, allocations: 111.9 kB / 0.8282 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.7478, allocations: 63.69 kB / 0.8283 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.345e-05/0.7479, allocations: 43.97 kB / 0.8283 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001612/0.7495, allocations: 0.8677 MB / 0.8292 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7495, allocations: 0 / 0.8292 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001103/0.7506, allocations: 295.8 kB / 0.8295 GB, free: 11.19 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.0007504/0.7514, allocations: 347.2 kB / 0.8298 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.7539, allocations: 1.045 MB / 0.8308 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.754, allocations: 0 / 0.8308 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.7549, allocations: 0.5178 MB / 0.8313 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.7577, allocations: 0.555 MB / 0.8319 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.7615, allocations: 2.348 MB / 0.8342 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.7622, allocations: 1.069 MB / 0.8352 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001191/0.7634, allocations: 275.9 kB / 0.8355 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.7637, allocations: 83.41 kB / 0.8355 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.7637, allocations: 0 / 0.8355 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of Templates: time 0.2695/1.033, allocations: 22.1 MB / 0.8571 GB, free: 210.9 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)