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.0006852/0.0006853, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007333/0.0007333, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.422 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.8679/0.8679, allocations: 143.2 MB / 434.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 83.42 MB / 0.5972 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3824/0.514, allocations: 176.7 MB / 0.7698 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008414/0.5224, allocations: 6.553 MB / 0.7762 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.5232, allocations: 39.69 kB / 0.7762 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.5243, allocations: 480.7 kB / 0.7767 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.5277, allocations: 1.677 MB / 0.7783 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.5299, allocations: 1.084 MB / 0.7794 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.5329, allocations: 3.212 MB / 0.7825 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.5337, allocations: 0.6845 MB / 0.7832 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.5349, allocations: 0.9453 MB / 0.7841 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.5357, allocations: 0.7352 MB / 0.7848 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.5358, allocations: 43.94 kB / 0.7848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.5379, allocations: 1.22 MB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.5382, allocations: 303 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.5384, allocations: 241.1 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5399, allocations: 1.683 MB / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.54, allocations: 0 / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.54, allocations: 0 / 0.7882 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.54, allocations: 4 kB / 0.7882 GB, free: 9.02 MB / 0.6075 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.002491/0.5425, allocations: 1.408 MB / 0.7896 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.5425, allocations: 8.031 kB / 0.7896 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.545, allocations: 0.5996 MB / 0.7902 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.5467, allocations: 0.9602 MB / 0.7911 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009687/0.5477, allocations: 321 kB / 0.7914 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5478, allocations: 75.92 kB / 0.7915 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.5499, allocations: 1.144 MB / 0.7926 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5499, allocations: 3.938 kB / 0.7926 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.55, allocations: 31.94 kB / 0.7926 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.55, allocations: 33.3 kB / 0.7927 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5528, allocations: 1.25 MB / 0.7939 GB, free: 3.062 MB / 0.6075 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.004807/0.5576, allocations: 3.242 MB / 0.7971 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.5591, allocations: 0.7007 MB / 0.7977 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.5598, allocations: 433.4 kB / 0.7981 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/0.5606, allocations: 1.021 MB / 0.7991 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008518/0.5614, allocations: 0.5182 MB / 0.7997 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 1.843e-06/0.5614, allocations: 4 kB / 0.7997 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.002475/0.5639, allocations: 1.244 MB / 0.8009 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.564, allocations: 136.9 kB / 0.801 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.5656, allocations: 1.211 MB / 0.8022 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.5657, allocations: 41.7 kB / 0.8022 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.566, allocations: 441.4 kB / 0.8026 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5662, allocations: 185.3 kB / 0.8028 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.5662, allocations: 12 kB / 0.8028 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5663, allocations: 330 kB / 0.8031 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.5675, allocations: 488.9 kB / 0.8036 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.5687, allocations: 0.6297 MB / 0.8042 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5699, allocations: 0.5428 MB / 0.8048 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5699, allocations: 3.953 kB / 0.8048 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002672/0.5726, allocations: 1.291 MB / 0.806 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.5726, allocations: 37.7 kB / 0.8061 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5726, allocations: 0 / 0.8061 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5726, allocations: 8 kB / 0.8061 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.5735, allocations: 211.8 kB / 0.8063 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5735, allocations: 8 kB / 0.8063 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.5748, allocations: 307.5 kB / 0.8066 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.5749, allocations: 39.98 kB / 0.8066 GB, free: 5.551 MB / 0.6231 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.5753, allocations: 324 kB / 0.8069 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.5754, allocations: 118.5 kB / 0.807 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.5773, allocations: 1.009 MB / 0.808 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5773, allocations: 8 kB / 0.808 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5773, allocations: 0 / 0.808 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.5773, allocations: 7.984 kB / 0.808 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.5815, allocations: 3.185 MB / 0.8111 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.5815, allocations: 8 kB / 0.8111 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.582, allocations: 120 kB / 0.8113 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.582, allocations: 16 kB / 0.8113 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.5821, allocations: 31.92 kB / 0.8113 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.5821, allocations: 11.94 kB / 0.8113 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.5821, allocations: 11.94 kB / 0.8113 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5839, allocations: 1.351 MB / 0.8127 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.5843, allocations: 331.3 kB / 0.813 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.5845, allocations: 27.98 kB / 0.813 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.5854, allocations: 127.9 kB / 0.8131 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.5855, allocations: 63.78 kB / 0.8132 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.5856, allocations: 35.97 kB / 0.8132 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0013/0.5869, allocations: 0.8833 MB / 0.8141 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5869, allocations: 0 / 0.8141 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008673/0.5878, allocations: 291.8 kB / 0.8144 GB, free: 13.3 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/0.5884, allocations: 355.4 kB / 0.8147 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.5904, allocations: 1.052 MB / 0.8157 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5904, allocations: 0 / 0.8157 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.5913, allocations: 0.5204 MB / 0.8162 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.5935, allocations: 0.5289 MB / 0.8167 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.5966, allocations: 2.294 MB / 0.819 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.5972, allocations: 1.073 MB / 0.82 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009473/0.5981, allocations: 277.7 kB / 0.8203 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.5984, allocations: 79.42 kB / 0.8204 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.5984, allocations: 0 / 0.8204 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of Templates: time 0.02784/0.6262, allocations: 20.74 MB / 0.8406 GB, free: 2.527 MB / 0.6544 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)