Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 84.22 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.0009209/0.000921, 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.648/1.648, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.818/1.818, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005849/0.000585, allocations: 11.84 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2506, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001264/0.2519, allocations: 0.9508 MB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.2537, allocations: 1.176 MB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.2537, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.2538, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0005819/0.2544, allocations: 159.6 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.2545, allocations: 31.91 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.2545, allocations: 19.91 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.2546, allocations: 3.984 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.2546, allocations: 4 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.2548, allocations: 20.58 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2548, allocations: 0 / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.2551, allocations: 219.7 kB / 0.7898 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.2551, allocations: 4 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.2552, allocations: 25.7 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.2554, allocations: 147.7 kB / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2554, allocations: 0 / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2554, allocations: 0 / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2554, allocations: 0 / 0.79 GB, free: 9.156 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000335/0.2558, allocations: 371.6 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2558, allocations: 12.03 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.2559, allocations: 79.28 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.256, allocations: 246.2 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.2561, allocations: 158.5 kB / 0.7908 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.2561, allocations: 150.6 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.2562, allocations: 101 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.2562, allocations: 79.28 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.2563, allocations: 150.6 kB / 0.7913 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.2564, allocations: 154.6 kB / 0.7914 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.2564, allocations: 154.5 kB / 0.7916 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.2567, allocations: 449.9 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.2568, allocations: 173.1 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.2568, allocations: 80.14 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2568, allocations: 79.28 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.2569, allocations: 109.8 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2569, allocations: 4 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.747e-05/0.257, allocations: 29.75 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.2571, allocations: 207.8 kB / 0.7926 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2572, allocations: 101.8 kB / 0.7927 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2572, allocations: 25.7 kB / 0.7928 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.2572, allocations: 80.14 kB / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.2573, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.2573, allocations: 0 / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2574, allocations: 314.8 kB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-06/0.2574, allocations: 0 / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.2574, allocations: 26.52 kB / 0.7932 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.2575, allocations: 79.28 kB / 0.7932 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.2575, allocations: 79.22 kB / 0.7933 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.06e-05/0.2576, allocations: 37.58 kB / 0.7933 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.2576, allocations: 83.28 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.2576, allocations: 83.22 kB / 0.7935 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.061e-05/0.2577, allocations: 150.6 kB / 0.7936 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.2577, allocations: 75.28 kB / 0.7937 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.674e-05/0.2578, allocations: 162.5 kB / 0.7939 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.2579, allocations: 79.27 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.258, allocations: 83.22 kB / 0.794 GB, free: 4.734 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001152/0.2581, allocations: 263.7 kB / 0.7943 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.2582, allocations: 108.9 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.2582, allocations: 108.1 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/0.2583, allocations: 184.2 kB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-05/0.2584, allocations: 180.3 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.2584, allocations: 184.2 kB / 0.795 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2586, allocations: 401.2 kB / 0.7954 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.2587, allocations: 109 kB / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.2587, allocations: 104.9 kB / 0.7956 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.249e-05/0.2588, allocations: 180.2 kB / 0.7958 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.2589, allocations: 184.5 kB / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.2589, allocations: 184.2 kB / 0.7961 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.568e-05/0.259, allocations: 176.3 kB / 0.7963 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2591, allocations: 307.8 kB / 0.7966 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.2592, allocations: 190.2 kB / 0.7968 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.2593, allocations: 192.2 kB / 0.7969 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2594, allocations: 109 kB / 0.7971 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.2595, allocations: 184.2 kB / 0.7972 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.2595, allocations: 101 kB / 0.7973 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.2596, allocations: 83.28 kB / 0.7974 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2596, allocations: 0 / 0.7974 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000392/0.26, allocations: 83.92 kB / 0.7975 GB, free: 0.9688 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007009/0.2607, allocations: 383.6 kB / 0.7978 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.483e-05/0.2608, allocations: 11.92 kB / 0.7979 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2608, allocations: 0 / 0.7979 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2608, allocations: 0 / 0.7979 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2612, allocations: 0.5263 MB / 0.7984 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.2614, allocations: 159.9 kB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2617, allocations: 0.673 MB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2617, allocations: 7.984 kB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2617, allocations: 15.44 kB / 0.7992 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2617, allocations: 0 / 0.7992 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.004587/0.2663, allocations: 2.002 MB / 0.8012 GB, free: 13.19 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) Environment - environmentSimulation: