Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.01059/0.01059, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003951, allocations: 14.25 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.618/3.956, allocations: 1.342 GB / 2.416 GB, free: 53.48 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 0.3916/4.348, allocations: 330.9 MB / 2.739 GB, free: 5.852 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0636/4.411, allocations: 1.063 MB / 2.74 GB, free: 4.781 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.04129/4.453, allocations: 10.81 MB / 2.751 GB, free: 10.41 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.1097/4.562, allocations: 29.44 MB / 2.779 GB, free: 1.531 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.05337/4.616, allocations: 18.11 MB / 2.797 GB, free: 1.41 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.1004/4.716, allocations: 75.87 MB / 2.871 GB, free: 7.523 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0479/4.764, allocations: 18.39 MB / 2.889 GB, free: 5.262 MB / 1.654 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06184/4.826, allocations: 20.28 MB / 2.909 GB, free: 1.996 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03997/4.866, allocations: 16.91 MB / 2.926 GB, free: 2.219 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.007658/4.874, allocations: 0.6289 MB / 2.926 GB, free: 1.59 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04847/4.922, allocations: 15.59 MB / 2.941 GB, free: 2.715 MB / 1.701 GB Notification: Performance of NFScalarize.scalarize: time 0.008611/4.931, allocations: 3.26 MB / 2.945 GB, free: 15.51 MB / 1.717 GB Notification: Performance of NFVerifyModel.verify: time 0.02762/4.959, allocations: 9.328 MB / 2.954 GB, free: 6.195 MB / 1.717 GB Notification: Performance of NFConvertDAE.convert: time 0.0789/5.038, allocations: 38.96 MB / 2.992 GB, free: 0.5273 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/5.038, allocations: 0 / 2.992 GB, free: 0.5273 MB / 1.748 GB Notification: Performance of FrontEnd: time 3.426e-06/5.038, allocations: 4 kB / 2.992 GB, free: 0.5234 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001389/5.039, allocations: 0 / 2.992 GB, free: 0.5234 MB / 1.748 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 1.2/6.239, allocations: 16.75 MB / 3.008 GB, free: 0.8606 GB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/6.239, allocations: 10.5 kB / 3.008 GB, free: 0.8606 GB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/6.249, allocations: 2.25 MB / 3.01 GB, free: 0.8595 GB / 1.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04525/6.295, allocations: 18.03 MB / 3.028 GB, free: 0.8508 GB / 1.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001564/6.296, allocations: 0.9813 MB / 3.029 GB, free: 0.8503 GB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005069/6.301, allocations: 1.289 MB / 3.03 GB, free: 0.8499 GB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04736/6.349, allocations: 14.48 MB / 3.044 GB, free: 0.8428 GB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008128/6.35, allocations: 42.75 kB / 3.044 GB, free: 0.8428 GB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/6.353, allocations: 0.532 MB / 3.045 GB, free: 0.8424 GB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/6.354, allocations: 348.7 kB / 3.045 GB, free: 0.8424 GB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/6.377, allocations: 10.09 MB / 3.055 GB, free: 0.8373 GB / 1.748 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.1029/6.48, allocations: 74.76 MB / 3.128 GB, free: 0.7735 GB / 1.748 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007/6.487, allocations: 4.565 MB / 3.132 GB, free: 0.7709 GB / 1.748 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/6.491, allocations: 2.442 MB / 3.135 GB, free: 0.7696 GB / 1.748 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0792/6.57, allocations: 51.87 MB / 3.185 GB, free: 0.7189 GB / 1.748 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/6.57, allocations: 119.3 kB / 3.186 GB, free: 0.7188 GB / 1.748 GB Notification: Performance of pre-optimization done (n=412): time 1.095e-05/6.57, allocations: 3.844 kB / 3.186 GB, free: 0.7188 GB / 1.748 GB Notification: Performance of matching and sorting (n=412): time 0.01702/6.587, allocations: 6.984 MB / 3.192 GB, free: 0.712 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/6.588, allocations: 0.7903 MB / 3.193 GB, free: 0.711 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04247/6.63, allocations: 16.43 MB / 3.209 GB, free: 0.6951 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.001502/6.632, allocations: 145.7 kB / 3.209 GB, free: 0.6949 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.01055/6.642, allocations: 8.67 MB / 3.218 GB, free: 0.6864 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.002517/6.645, allocations: 1.455 MB / 3.219 GB, free: 0.685 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/6.646, allocations: 0.5039 MB / 3.22 GB, free: 0.6845 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/6.647, allocations: 301.1 kB / 3.22 GB, free: 0.6842 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/6.651, allocations: 2.046 MB / 3.222 GB, free: 0.6822 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/6.658, allocations: 5.087 MB / 3.227 GB, free: 0.6761 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008214/6.666, allocations: 6.878 MB / 3.234 GB, free: 0.6684 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/6.666, allocations: 24 kB / 3.234 GB, free: 0.6684 GB / 1.748 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02029/6.687, allocations: 8.147 MB / 3.242 GB, free: 0.6604 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/6.687, allocations: 43.94 kB / 3.242 GB, free: 0.6604 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/6.687, allocations: 72 kB / 3.242 GB, free: 0.6603 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/6.687, allocations: 112 kB / 3.242 GB, free: 0.6602 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/6.692, allocations: 1.412 MB / 3.243 GB, free: 0.6588 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002146/6.693, allocations: 159.4 kB / 3.243 GB, free: 0.6587 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/6.71, allocations: 1.865 MB / 3.245 GB, free: 0.6568 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/6.712, allocations: 379.9 kB / 3.246 GB, free: 0.6565 GB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * 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.01112/6.723, allocations: 3.558 MB / 3.249 GB, free: 0.653 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006364/6.729, allocations: 1.655 MB / 3.251 GB, free: 0.6514 GB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/6.746, allocations: 7.558 MB / 3.258 GB, free: 0.6441 GB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002429/6.746, allocations: 87.94 kB / 3.258 GB, free: 0.6441 GB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-05/6.746, allocations: 8 kB / 3.258 GB, free: 0.6441 GB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004571/6.751, allocations: 3.832 MB / 3.262 GB, free: 0.64 GB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06404/6.815, allocations: 28.68 MB / 3.29 GB, free: 0.6116 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002623/6.815, allocations: 32 kB / 3.29 GB, free: 0.6116 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003707/6.819, allocations: 0.7723 MB / 3.291 GB, free: 0.6108 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.948e-05/6.819, allocations: 48 kB / 3.291 GB, free: 0.6108 GB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/6.82, allocations: 155.9 kB / 3.291 GB, free: 0.6106 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-05/6.82, allocations: 71.73 kB / 3.291 GB, free: 0.6106 GB / 1.748 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.5e-05/6.82, allocations: 47.81 kB / 3.291 GB, free: 0.6105 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/6.841, allocations: 11.95 MB / 3.303 GB, free: 0.5983 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01026/6.851, allocations: 3.101 MB / 3.306 GB, free: 0.5952 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005952/6.857, allocations: 128 kB / 3.306 GB, free: 0.5951 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01317/6.87, allocations: 0.6067 MB / 3.306 GB, free: 0.5945 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/6.871, allocations: 398.6 kB / 3.307 GB, free: 0.5941 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001247/6.873, allocations: 267.8 kB / 3.307 GB, free: 0.5939 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02872/6.902, allocations: 11.69 MB / 3.318 GB, free: 0.5825 GB / 1.748 GB Notification: Performance of sort global known variables: time 1.413e-06/6.902, allocations: 0 / 3.318 GB, free: 0.5825 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.02516/6.927, allocations: 5.293 MB / 3.324 GB, free: 0.5774 GB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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.01309/6.94, allocations: 4.596 MB / 3.328 GB, free: 0.5732 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.01053/6.95, allocations: 5.493 MB / 3.334 GB, free: 0.5678 GB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-05/6.951, allocations: 11.91 kB / 3.334 GB, free: 0.5678 GB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.004274/6.955, allocations: 2.59 MB / 3.336 GB, free: 0.5653 GB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1772/7.132, allocations: 12.41 MB / 3.348 GB, free: 0.5537 GB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05689/7.189, allocations: 34.29 MB / 3.382 GB, free: 0.5198 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01638/7.205, allocations: 7.811 MB / 3.389 GB, free: 0.5121 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02091/7.226, allocations: 3.226 MB / 3.392 GB, free: 0.5091 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007841/7.234, allocations: 1.577 MB / 3.394 GB, free: 0.5076 GB / 1.748 GB Notification: Performance of SimCode: time 2.736e-06/7.234, allocations: 0 / 3.394 GB, free: 0.5076 GB / 1.748 GB Notification: Performance of Templates: time 0.6549/7.889, allocations: 477.6 MB / 3.86 GB, free: 45.29 MB / 1.748 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)