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.001319/0.001319, allocations: 100.1 kB / 15.88 MB, free: 12 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.001415/0.001415, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.9619/0.9619, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 63.91 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1812, allocations: 82.03 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5104/0.6917, allocations: 191.7 MB / 0.7815 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.7018, allocations: 7.001 MB / 0.7883 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.7035, allocations: 43.69 kB / 0.7883 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.7053, allocations: 0.5632 MB / 0.7889 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.7107, allocations: 2.183 MB / 0.791 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.714, allocations: 1.289 MB / 0.7923 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004557/0.7186, allocations: 3.735 MB / 0.7959 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.72, allocations: 0.7931 MB / 0.7967 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.7221, allocations: 0.9725 MB / 0.7976 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.724, allocations: 0.8121 MB / 0.7984 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.7242, allocations: 48 kB / 0.7985 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.7281, allocations: 2.221 MB / 0.8007 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.7286, allocations: 326.8 kB / 0.801 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.7293, allocations: 0.5284 MB / 0.8015 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.7315, allocations: 1.851 MB / 0.8033 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7315, allocations: 0 / 0.8033 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7316, allocations: 4 kB / 0.8033 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.7316, allocations: 0 / 0.8033 GB, free: 7.672 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.003563/0.7351, allocations: 1.635 MB / 0.8049 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7352, allocations: 15.97 kB / 0.8049 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.7383, allocations: 0.537 MB / 0.8054 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.7405, allocations: 0.981 MB / 0.8064 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/0.7417, allocations: 277 kB / 0.8067 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7418, allocations: 75.98 kB / 0.8067 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.7444, allocations: 1.12 MB / 0.8078 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7445, allocations: 3.938 kB / 0.8078 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.7446, allocations: 28 kB / 0.8078 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.7446, allocations: 29.3 kB / 0.8079 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.7478, allocations: 1.203 MB / 0.8091 GB, free: 1.645 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.006072/0.7539, allocations: 3.208 MB / 0.8122 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.7557, allocations: 0.688 MB / 0.8129 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.7565, allocations: 422.2 kB / 0.8133 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008834/0.7574, allocations: 1.025 MB / 0.8143 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.7584, allocations: 0.5104 MB / 0.8148 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.806e-06/0.7584, allocations: 4 kB / 0.8148 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002994/0.7614, allocations: 1.217 MB / 0.8159 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.7615, allocations: 140.8 kB / 0.8161 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.7635, allocations: 1.204 MB / 0.8173 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.7637, allocations: 37.7 kB / 0.8173 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.7641, allocations: 437.5 kB / 0.8177 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.7643, allocations: 189.2 kB / 0.8179 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.7646, allocations: 146 kB / 0.818 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7647, allocations: 338 kB / 0.8184 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.766, allocations: 452.9 kB / 0.8188 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.7675, allocations: 0.621 MB / 0.8194 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.7696, allocations: 0.9457 MB / 0.8203 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7696, allocations: 0 / 0.8203 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003316/0.7729, allocations: 1.232 MB / 0.8215 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.773, allocations: 38.94 kB / 0.8216 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.773, allocations: 4 kB / 0.8216 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.7731, allocations: 12 kB / 0.8216 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.7741, allocations: 200 kB / 0.8218 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.7741, allocations: 7.938 kB / 0.8218 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.7759, allocations: 270.9 kB / 0.822 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.776, allocations: 39.91 kB / 0.8221 GB, free: 3.77 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.0005214/0.7765, allocations: 327.4 kB / 0.8224 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.7768, allocations: 122.6 kB / 0.8225 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.7789, allocations: 1 MB / 0.8235 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.779, allocations: 8.516 kB / 0.8235 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.779, allocations: 3.938 kB / 0.8235 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.779, allocations: 3.984 kB / 0.8235 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.784, allocations: 3.167 MB / 0.8266 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.784, allocations: 7.984 kB / 0.8266 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.7846, allocations: 124 kB / 0.8267 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.7847, allocations: 12 kB / 0.8267 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.7847, allocations: 23.92 kB / 0.8267 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.7847, allocations: 19.92 kB / 0.8268 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.7847, allocations: 8 kB / 0.8268 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.787, allocations: 1.34 MB / 0.8281 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/0.7876, allocations: 331.4 kB / 0.8284 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.7878, allocations: 20 kB / 0.8284 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.789, allocations: 111.9 kB / 0.8285 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7891, allocations: 67.69 kB / 0.8286 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.7892, allocations: 35.98 kB / 0.8286 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001552/0.7908, allocations: 0.8716 MB / 0.8295 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7908, allocations: 0 / 0.8295 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001115/0.7919, allocations: 295.8 kB / 0.8297 GB, free: 11.58 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.0007384/0.7926, allocations: 348.9 kB / 0.8301 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.7951, allocations: 1.025 MB / 0.8311 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7952, allocations: 0 / 0.8311 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009542/0.7961, allocations: 0.5008 MB / 0.8316 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.799, allocations: 0.5405 MB / 0.8321 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.8028, allocations: 2.391 MB / 0.8344 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.8034, allocations: 1.069 MB / 0.8355 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.8038, allocations: 91.39 kB / 0.8356 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/0.8039, allocations: 4 kB / 0.8356 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of Templates: time 0.02788/0.8317, allocations: 18.88 MB / 0.854 GB, free: 2.75 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)