Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.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.0009801/0.00098, allocations: 84.38 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.001226/0.001226, 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 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005283, allocations: 16.66 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.107/3.358, allocations: 1.248 GB / 2.036 GB, free: 2.621 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 1.48/4.838, allocations: 308.6 MB / 2.337 GB, free: 34.61 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05996/4.898, allocations: 0.9773 MB / 2.338 GB, free: 34.61 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.04218/4.94, allocations: 8.624 MB / 2.346 GB, free: 34.54 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.1011/5.041, allocations: 24.79 MB / 2.371 GB, free: 33.49 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.04833/5.09, allocations: 12.45 MB / 2.383 GB, free: 32.28 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.09332/5.183, allocations: 63.21 MB / 2.444 GB, free: 12.59 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05019/5.233, allocations: 14.22 MB / 2.458 GB, free: 3.949 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0709/5.304, allocations: 18.87 MB / 2.477 GB, free: 4.016 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05127/5.356, allocations: 18.31 MB / 2.495 GB, free: 4.406 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01091/5.367, allocations: 0.625 MB / 2.495 GB, free: 3.781 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06187/5.428, allocations: 12.13 MB / 2.507 GB, free: 10.21 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01335/5.442, allocations: 2.975 MB / 2.51 GB, free: 8.066 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0179/5.46, allocations: 4.085 MB / 2.514 GB, free: 5.668 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.07054/5.53, allocations: 31.53 MB / 2.545 GB, free: 10.72 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/5.53, allocations: 0 / 2.545 GB, free: 10.72 MB / 1.326 GB Notification: Performance of FrontEnd: time 3.967e-06/5.53, allocations: 3.938 kB / 2.545 GB, free: 10.72 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.001668/5.532, allocations: 0 / 2.545 GB, free: 10.72 MB / 1.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.06255/5.595, allocations: 16.66 MB / 2.561 GB, free: 11.66 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/5.595, allocations: 12.03 kB / 2.561 GB, free: 11.65 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/5.609, allocations: 2.183 MB / 2.563 GB, free: 9.449 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05333/5.662, allocations: 16.87 MB / 2.58 GB, free: 15.22 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001925/5.664, allocations: 0.9524 MB / 2.581 GB, free: 14.33 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006266/5.67, allocations: 1.252 MB / 2.582 GB, free: 13.08 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05818/5.729, allocations: 13.87 MB / 2.595 GB, free: 14.52 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006782/5.729, allocations: 47.53 kB / 2.595 GB, free: 14.47 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004158/5.734, allocations: 0.5103 MB / 2.596 GB, free: 13.96 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003837/5.734, allocations: 332 kB / 2.596 GB, free: 13.64 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/5.761, allocations: 9.616 MB / 2.606 GB, free: 4.059 MB / 1.373 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.1207/5.882, allocations: 70.59 MB / 2.675 GB, free: 10.43 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008943/5.891, allocations: 4.541 MB / 2.679 GB, free: 5.664 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/5.895, allocations: 2.42 MB / 2.681 GB, free: 3.164 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7381/6.634, allocations: 51.86 MB / 2.732 GB, free: 0.8075 GB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/6.634, allocations: 122.4 kB / 2.732 GB, free: 0.8075 GB / 1.498 GB Notification: Performance of pre-optimization done (n=412): time 8.446e-06/6.634, allocations: 0 / 2.732 GB, free: 0.8075 GB / 1.498 GB Notification: Performance of matching and sorting (n=412): time 0.02091/6.655, allocations: 6.923 MB / 2.739 GB, free: 0.8074 GB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/6.655, allocations: 0.7863 MB / 2.74 GB, free: 0.8065 GB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05144/6.707, allocations: 15.88 MB / 2.755 GB, free: 0.8038 GB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.00246/6.709, allocations: 146.3 kB / 2.755 GB, free: 0.8037 GB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.01602/6.725, allocations: 8.318 MB / 2.763 GB, free: 0.798 GB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.003205/6.729, allocations: 1.452 MB / 2.765 GB, free: 0.7969 GB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/6.729, allocations: 123.5 kB / 2.765 GB, free: 0.7968 GB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.000426/6.73, allocations: 0.5307 MB / 2.765 GB, free: 0.7964 GB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/6.734, allocations: 1.954 MB / 2.767 GB, free: 0.7957 GB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007444/6.742, allocations: 4.75 MB / 2.772 GB, free: 0.7918 GB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005626/6.747, allocations: 2.784 MB / 2.775 GB, free: 0.7906 GB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.87e-05/6.747, allocations: 19.81 kB / 2.775 GB, free: 0.7906 GB / 1.498 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01955/6.767, allocations: 7.731 MB / 2.782 GB, free: 0.7874 GB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/6.767, allocations: 31.59 kB / 2.782 GB, free: 0.7874 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.9e-05/6.767, allocations: 66.59 kB / 2.782 GB, free: 0.7874 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/6.767, allocations: 106.6 kB / 2.782 GB, free: 0.7874 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/6.772, allocations: 1.322 MB / 2.784 GB, free: 0.7872 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001453/6.772, allocations: 140.5 kB / 2.784 GB, free: 0.7872 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/6.789, allocations: 1.723 MB / 2.786 GB, free: 0.7864 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/6.791, allocations: 354.8 kB / 2.786 GB, free: 0.7864 GB / 1.498 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * Array equations: 0 * Algorithm blocks: 0 * 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.01191/6.803, allocations: 3.387 MB / 2.789 GB, free: 0.7844 GB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005871/6.809, allocations: 1.624 MB / 2.791 GB, free: 0.7836 GB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/6.827, allocations: 7.534 MB / 2.798 GB, free: 0.7807 GB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003011/6.828, allocations: 86.28 kB / 2.798 GB, free: 0.7807 GB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.161e-05/6.828, allocations: 7.844 kB / 2.798 GB, free: 0.7807 GB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005156/6.833, allocations: 3.82 MB / 2.802 GB, free: 0.7781 GB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06327/6.896, allocations: 28.36 MB / 2.83 GB, free: 0.7627 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001913/6.896, allocations: 30.94 kB / 2.83 GB, free: 0.7627 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/6.9, allocations: 0.7728 MB / 2.83 GB, free: 0.7626 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/6.9, allocations: 55.25 kB / 2.831 GB, free: 0.7626 GB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009099/6.901, allocations: 155.8 kB / 2.831 GB, free: 0.7625 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001054/6.901, allocations: 74.22 kB / 2.831 GB, free: 0.7625 GB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.036e-05/6.901, allocations: 51.89 kB / 2.831 GB, free: 0.7625 GB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/6.921, allocations: 11.87 MB / 2.842 GB, free: 0.7546 GB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/6.932, allocations: 3.088 MB / 2.845 GB, free: 0.7521 GB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00646/6.939, allocations: 131.2 kB / 2.846 GB, free: 0.752 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/6.951, allocations: 0.5533 MB / 2.846 GB, free: 0.7518 GB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/6.952, allocations: 403.5 kB / 2.846 GB, free: 0.7516 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001151/6.953, allocations: 262.2 kB / 2.847 GB, free: 0.7515 GB / 1.498 GB Notification: Performance of sorting global known variables: time 0.02849/6.982, allocations: 11.27 MB / 2.858 GB, free: 0.745 GB / 1.498 GB Notification: Performance of sort global known variables: time 5.72e-07/6.982, allocations: 0 / 2.858 GB, free: 0.745 GB / 1.498 GB Notification: Performance of remove unused functions: time 0.02288/7.005, allocations: 5.187 MB / 2.863 GB, free: 0.7402 GB / 1.498 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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 (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.01468/7.02, allocations: 4.56 MB / 2.867 GB, free: 0.7367 GB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.01023/7.03, allocations: 5.311 MB / 2.872 GB, free: 0.7315 GB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-05/7.03, allocations: 8.375 kB / 2.872 GB, free: 0.7315 GB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/7.034, allocations: 2.562 MB / 2.875 GB, free: 0.729 GB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05055/7.085, allocations: 9.459 MB / 2.884 GB, free: 0.7207 GB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05496/7.14, allocations: 31.6 MB / 2.915 GB, free: 0.6901 GB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01532/7.155, allocations: 7.443 MB / 2.922 GB, free: 0.6828 GB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.02021/7.175, allocations: 3.136 MB / 2.925 GB, free: 0.6799 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004799/7.18, allocations: 1.046 MB / 2.926 GB, free: 0.6789 GB / 1.498 GB Notification: Performance of SimCode: time 1.663e-06/7.18, allocations: 0 / 2.926 GB, free: 0.6789 GB / 1.498 GB Notification: Performance of Templates: time 0.4542/7.634, allocations: 333.7 MB / 3.252 GB, free: 363.5 MB / 1.498 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) Environment - environmentSimulation: