Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.024/2.024, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 193.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.000967, allocations: 114 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 52.72 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2376, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001884/0.2396, allocations: 1.292 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.241, allocations: 1.259 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.241, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.241, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.2415, allocations: 163.6 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 8.509e-05/0.2416, allocations: 27.95 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.2416, allocations: 11.94 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.2417, allocations: 7.984 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.2417, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5138/0.7555, allocations: 28.17 MB / 1.248 GB, free: 88.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.7555, allocations: 0 / 1.248 GB, free: 88.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.7555, allocations: 0 / 1.248 GB, free: 88.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.7556, allocations: 7.938 kB / 1.248 GB, free: 88.79 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.7556, allocations: 0 / 1.248 GB, free: 88.79 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.512e-05/0.7557, allocations: 23.97 kB / 1.248 GB, free: 88.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7557, allocations: 0 / 1.248 GB, free: 88.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.41e-07/0.7557, allocations: 0 / 1.248 GB, free: 88.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.7557, allocations: 0 / 1.248 GB, free: 88.77 MB / 0.823 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.0002296/0.7559, allocations: 311.6 kB / 1.249 GB, free: 88.42 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.756, allocations: 19.98 kB / 1.249 GB, free: 88.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.756, allocations: 84.12 kB / 1.249 GB, free: 88.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.7561, allocations: 239.7 kB / 1.249 GB, free: 88.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.7561, allocations: 158.8 kB / 1.249 GB, free: 87.89 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7562, allocations: 150.9 kB / 1.249 GB, free: 87.74 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.031e-05/0.7562, allocations: 109 kB / 1.249 GB, free: 87.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7562, allocations: 79.28 kB / 1.249 GB, free: 87.55 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.7563, allocations: 154.5 kB / 1.25 GB, free: 87.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.7563, allocations: 154.5 kB / 1.25 GB, free: 87.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.7563, allocations: 154.6 kB / 1.25 GB, free: 87.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.7565, allocations: 445.9 kB / 1.25 GB, free: 86.61 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.7566, allocations: 169.1 kB / 1.25 GB, free: 86.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.7566, allocations: 84.14 kB / 1.251 GB, free: 86.34 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.7566, allocations: 75.28 kB / 1.251 GB, free: 86.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7566, allocations: 117.8 kB / 1.251 GB, free: 86.14 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7566, allocations: 0 / 1.251 GB, free: 86.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.471e-05/0.7567, allocations: 29.64 kB / 1.251 GB, free: 86.11 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.7568, allocations: 211.8 kB / 1.251 GB, free: 85.87 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.7568, allocations: 97.86 kB / 1.251 GB, free: 85.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.7569, allocations: 25.7 kB / 1.251 GB, free: 85.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.7569, allocations: 84.12 kB / 1.251 GB, free: 85.65 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.7569, allocations: 0 / 1.251 GB, free: 85.65 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.7569, allocations: 13.72 kB / 1.251 GB, free: 85.63 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.757, allocations: 314.8 kB / 1.251 GB, free: 85.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-06/0.757, allocations: 4 kB / 1.251 GB, free: 85.31 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.757, allocations: 18.58 kB / 1.251 GB, free: 85.28 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.126e-05/0.757, allocations: 75.28 kB / 1.252 GB, free: 85.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.757, allocations: 75.28 kB / 1.252 GB, free: 85.13 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.185e-05/0.7571, allocations: 41.56 kB / 1.252 GB, free: 85.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7571, allocations: 79.28 kB / 1.252 GB, free: 85.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7572, allocations: 79.28 kB / 1.252 GB, free: 84.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.7572, allocations: 158.6 kB / 1.252 GB, free: 84.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.7572, allocations: 83.22 kB / 1.252 GB, free: 84.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.7572, allocations: 154.6 kB / 1.252 GB, free: 84.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.7574, allocations: 87.2 kB / 1.252 GB, free: 84.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7574, allocations: 75.28 kB / 1.252 GB, free: 84.38 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.7575, allocations: 265.1 kB / 1.253 GB, free: 84.11 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.7575, allocations: 112.9 kB / 1.253 GB, free: 83.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.7575, allocations: 108.1 kB / 1.253 GB, free: 83.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.7576, allocations: 180.2 kB / 1.253 GB, free: 83.69 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.7576, allocations: 180.2 kB / 1.253 GB, free: 83.51 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.7576, allocations: 184.2 kB / 1.253 GB, free: 83.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.7577, allocations: 409.2 kB / 1.254 GB, free: 82.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.7578, allocations: 101 kB / 1.254 GB, free: 82.76 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.7578, allocations: 108.9 kB / 1.254 GB, free: 82.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.7578, allocations: 184.1 kB / 1.254 GB, free: 82.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.7578, allocations: 176.3 kB / 1.254 GB, free: 82.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-05/0.7579, allocations: 188.2 kB / 1.254 GB, free: 82.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/0.7579, allocations: 188.3 kB / 1.255 GB, free: 81.89 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.758, allocations: 0.8379 MB / 1.255 GB, free: 80.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.7581, allocations: 189.9 kB / 1.256 GB, free: 80.78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.7581, allocations: 184.2 kB / 1.256 GB, free: 80.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.7582, allocations: 109 kB / 1.256 GB, free: 80.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.7583, allocations: 184.3 kB / 1.256 GB, free: 80.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.7583, allocations: 101 kB / 1.256 GB, free: 80.19 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.759e-05/0.7583, allocations: 79.27 kB / 1.256 GB, free: 80.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.42e-07/0.7583, allocations: 4 kB / 1.256 GB, free: 80.11 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003307/0.7586, allocations: 11.88 kB / 1.256 GB, free: 80.09 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.509e-05/0.7587, allocations: 175.1 kB / 1.256 GB, free: 79.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.823e-05/0.7588, allocations: 0 / 1.256 GB, free: 79.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7588, allocations: 0 / 1.256 GB, free: 79.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.7588, allocations: 0 / 1.256 GB, free: 79.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.759, allocations: 0.5263 MB / 1.257 GB, free: 79.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.7592, allocations: 162.5 kB / 1.257 GB, free: 79.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.7593, allocations: 0.6731 MB / 1.258 GB, free: 78.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.7593, allocations: 12.3 kB / 1.258 GB, free: 78.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-06/0.7594, allocations: 7.438 kB / 1.258 GB, free: 78.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.7594, allocations: 4 kB / 1.258 GB, free: 78.47 MB / 0.823 GB Notification: Performance of Templates: time 0.001811/0.7612, allocations: 492 kB / 1.258 GB, free: 77.99 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)