Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.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.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.001293/0.001293, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.8323/0.8323, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 72.98 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 82.02 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified): time 0.04942/0.1782, allocations: 56.22 MB / 0.7312 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.2002, allocations: 17.49 MB / 0.7483 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.2025, allocations: 75.56 kB / 0.7483 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3007/0.5032, allocations: 0.9743 MB / 0.7493 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.5093, allocations: 2.555 MB / 0.7518 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.5133, allocations: 1.809 MB / 0.7536 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02443/0.5377, allocations: 29.41 MB / 0.7823 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.5532, allocations: 14.6 MB / 0.7965 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01875/0.5719, allocations: 9.935 MB / 0.8062 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.5856, allocations: 8.802 MB / 0.8148 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003441/0.589, allocations: 1.301 MB / 0.8161 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008334/0.5974, allocations: 2.489 MB / 0.8185 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004653/0.6021, allocations: 3.234 MB / 0.8217 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01216/0.6142, allocations: 6.525 MB / 0.8281 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02112/0.6354, allocations: 19.3 MB / 0.8469 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6354, allocations: 4.656 kB / 0.8469 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6354, allocations: 0 / 0.8469 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005045/0.6359, allocations: 0 / 0.8469 GB, free: 12.28 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.027/0.6629, allocations: 11.72 MB / 0.8584 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.663, allocations: 8.031 kB / 0.8584 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.6681, allocations: 1.183 MB / 0.8595 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/0.6872, allocations: 9.333 MB / 0.8686 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.6878, allocations: 0.6174 MB / 0.8692 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.6905, allocations: 0.8152 MB / 0.87 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/0.7187, allocations: 12.52 MB / 0.8823 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003678/0.7191, allocations: 27.78 kB / 0.8823 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00237/0.7215, allocations: 359.2 kB / 0.8826 GB, free: 7.402 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.7217, allocations: 247.9 kB / 0.8829 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.7419, allocations: 10.42 MB / 0.8931 GB, free: 12.73 MB / 0.6856 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.07025/0.8122, allocations: 48.94 MB / 0.9409 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009729/0.822, allocations: 6.269 MB / 0.947 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008038/0.83, allocations: 4.919 MB / 0.9518 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.8316, allocations: 0.8244 MB / 0.9526 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006258/0.8378, allocations: 3.42 MB / 0.9559 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003153/0.841, allocations: 470.3 kB / 0.9564 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=449): time 1.182e-05/0.8411, allocations: 0 / 0.9564 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of matching and sorting (n=449): time 0.01556/0.8566, allocations: 8.916 MB / 0.9651 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.8567, allocations: 150.3 kB / 0.9652 GB, free: 332 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/0.8704, allocations: 7.719 MB / 0.9728 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0009299/0.8713, allocations: 109.7 kB / 0.9729 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.004467/0.8758, allocations: 4.326 MB / 0.9771 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002167/0.878, allocations: 1.566 MB / 0.9786 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002957/0.881, allocations: 1.131 MB / 0.9797 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.8811, allocations: 305.1 kB / 0.98 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/0.886, allocations: 3.046 MB / 0.983 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006021/0.892, allocations: 4.903 MB / 0.9878 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.9036, allocations: 8.614 MB / 0.9962 GB, free: 14.94 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.745e-05/0.9037, allocations: 16 kB / 0.9962 GB, free: 14.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01589/0.9196, allocations: 8.901 MB / 1.005 GB, free: 5.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.9197, allocations: 95.39 kB / 1.005 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-05/0.9198, allocations: 60 kB / 1.005 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.92, allocations: 91.98 kB / 1.005 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005433/0.9254, allocations: 1.361 MB / 1.006 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.9256, allocations: 123.6 kB / 1.007 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/0.9314, allocations: 375.2 kB / 1.007 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/0.9321, allocations: 280 kB / 1.007 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009489/0.9416, allocations: 6.164 MB / 1.013 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005852/0.9475, allocations: 4.901 MB / 1.018 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01113/0.9586, allocations: 8.614 MB / 1.026 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-05/0.9587, allocations: 16.16 kB / 1.026 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01593/0.9746, allocations: 8.9 MB / 1.035 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.9748, allocations: 98.05 kB / 1.035 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/0.9749, allocations: 56 kB / 1.035 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.92e-05/0.975, allocations: 92.75 kB / 1.035 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/0.9803, allocations: 1.361 MB / 1.037 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.9804, allocations: 127.6 kB / 1.037 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005974/0.9864, allocations: 367.3 kB / 1.037 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008158/0.9872, allocations: 276 kB / 1.037 GB, free: 2.957 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * 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.001769/0.989, allocations: 0.6318 MB / 1.038 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002322/0.9913, allocations: 0.718 MB / 1.039 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.004, allocations: 7.15 MB / 1.046 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008714/1.013, allocations: 5.849 MB / 1.051 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.013, allocations: 0 / 1.051 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004715/1.018, allocations: 1.621 MB / 1.053 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/1.02, allocations: 91.98 kB / 1.053 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/1.025, allocations: 283.6 kB / 1.053 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006347/1.026, allocations: 255.1 kB / 1.054 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5877/1.613, allocations: 7.06 MB / 1.061 GB, free: 301.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01618/1.63, allocations: 11.38 MB / 1.072 GB, free: 297.4 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003978/1.634, allocations: 3.211 MB / 1.075 GB, free: 296.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.007999/1.642, allocations: 5.422 MB / 1.08 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of Backend: time 3.3e-07/1.642, allocations: 0 / 1.08 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.658, allocations: 9.578 MB / 1.089 GB, free: 291.1 MB / 0.8419 GB Notification: Performance of SimCode: time 0.03506/1.693, allocations: 21.08 MB / 1.11 GB, free: 282.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.258/1.951, allocations: 185.2 MB / 1.291 GB, free: 98.09 MB / 0.8419 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)