Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 84.45 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 169.2 kB / 23.23 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.204/3.204, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.316e-05, allocations: 2.281 kB / 1.001 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03047/0.0305, allocations: 20.93 MB / 1.022 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.8363/0.8668, allocations: 16.64 MB / 1.038 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003929/0.8708, allocations: 173.9 kB / 1.038 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.8831, allocations: 4.179 MB / 1.042 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.8969, allocations: 3.695 MB / 1.046 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.9018, allocations: 1.325 MB / 1.047 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.9128, allocations: 5.958 MB / 1.053 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/0.9184, allocations: 2.844 MB / 1.056 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009769/0.9282, allocations: 3.693 MB / 1.059 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005544/0.9337, allocations: 1.911 MB / 1.061 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.9348, allocations: 365.8 kB / 1.061 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.938, allocations: 0.9765 MB / 1.062 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.9394, allocations: 1.267 MB / 1.064 GB, free: 6.559 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.00315/0.9426, allocations: 1.366 MB / 1.065 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.009959/0.9525, allocations: 5.2 MB / 1.07 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9525, allocations: 0 / 1.07 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9525, allocations: 0 / 1.07 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002259/0.9528, allocations: 1.344 kB / 1.07 GB, free: 4.383 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01485/0.9676, allocations: 4.593 MB / 1.074 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.9677, allocations: 15.09 kB / 1.074 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.9845, allocations: 3.282 MB / 1.078 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.9908, allocations: 2.163 MB / 1.08 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.9913, allocations: 467.9 kB / 1.08 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.9925, allocations: 237.2 kB / 1.08 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/1.008, allocations: 5.358 MB / 1.086 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/1.008, allocations: 1.062 kB / 1.086 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/1.009, allocations: 112.5 kB / 1.086 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/1.009, allocations: 173.3 kB / 1.086 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/1.026, allocations: 5.191 MB / 1.091 GB, free: 10.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/1.052, allocations: 8.747 MB / 1.1 GB, free: 4.496 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.063, allocations: 3.247 MB / 1.103 GB, free: 2.848 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004463/1.067, allocations: 1.37 MB / 1.104 GB, free: 2.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/1.068, allocations: 25.3 kB / 1.104 GB, free: 2.152 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005553/1.073, allocations: 2.458 MB / 1.107 GB, free: 224 kB / 0.948 GB Notification: Performance of pre-optimization done (n=163): time 4.479e-06/1.073, allocations: 0 / 1.107 GB, free: 224 kB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.1388/1.212, allocations: 27.51 MB / 1.133 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003966/1.212, allocations: 0.4908 MB / 1.134 GB, free: 9.664 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/1.216, allocations: 1.998 MB / 1.136 GB, free: 7.652 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005254/1.216, allocations: 73.7 kB / 1.136 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/1.218, allocations: 1.464 MB / 1.137 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.219, allocations: 0.8535 MB / 1.138 GB, free: 5.262 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.221, allocations: 416.5 kB / 1.139 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.221, allocations: 305.1 kB / 1.139 GB, free: 4.547 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005908/1.227, allocations: 2.07 MB / 1.141 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006528/1.233, allocations: 2.774 MB / 1.144 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/1.246, allocations: 4.161 MB / 1.148 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.246, allocations: 4 kB / 1.148 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02171/1.267, allocations: 6.588 MB / 1.154 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.267, allocations: 148.5 kB / 1.154 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.267, allocations: 8.281 kB / 1.154 GB, free: 4.262 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.278, allocations: 2.926 MB / 1.157 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/1.282, allocations: 487.2 kB / 1.158 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04538/1.327, allocations: 18.2 MB / 1.175 GB, free: 14.51 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/1.332, allocations: 323.8 kB / 1.176 GB, free: 14.19 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/1.333, allocations: 92.97 kB / 1.176 GB, free: 14.1 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.0021/1.335, allocations: 0.7025 MB / 1.176 GB, free: 13.39 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.336, allocations: 314.1 kB / 1.177 GB, free: 13.08 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008515/1.337, allocations: 365.2 kB / 1.177 GB, free: 12.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/1.337, allocations: 27.94 kB / 1.177 GB, free: 12.68 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/1.337, allocations: 15.94 kB / 1.177 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.337, allocations: 11.95 kB / 1.177 GB, free: 12.66 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/1.342, allocations: 2.726 MB / 1.18 GB, free: 9.938 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.342, allocations: 3.938 kB / 1.18 GB, free: 9.934 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.345, allocations: 419 kB / 1.18 GB, free: 9.527 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.356, allocations: 2.861 MB / 1.183 GB, free: 6.66 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006051/1.357, allocations: 47.97 kB / 1.183 GB, free: 6.613 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04551/1.402, allocations: 17.98 MB / 1.201 GB, free: 4.426 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.402, allocations: 0 / 1.201 GB, free: 4.426 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/1.422, allocations: 6.083 MB / 1.207 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/1.424, allocations: 0.5977 MB / 1.207 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006453/1.425, allocations: 55.92 kB / 1.207 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/1.429, allocations: 315.6 kB / 1.207 GB, free: 13.35 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/1.43, allocations: 362.5 kB / 1.208 GB, free: 13 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.43, allocations: 67.97 kB / 1.208 GB, free: 12.93 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.002412/1.433, allocations: 1.313 MB / 1.209 GB, free: 11.61 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/1.433, allocations: 0 / 1.209 GB, free: 11.61 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004388/1.437, allocations: 1.039 MB / 1.21 GB, free: 10.57 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004928/1.438, allocations: 163 kB / 1.21 GB, free: 10.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02542/1.463, allocations: 6.454 MB / 1.217 GB, free: 3.82 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.463, allocations: 0 / 1.217 GB, free: 3.82 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01945/1.483, allocations: 3.933 MB / 1.22 GB, free: 15.86 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/1.489, allocations: 1.035 MB / 1.221 GB, free: 14.87 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.506, allocations: 6.773 MB / 1.228 GB, free: 8.066 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/1.509, allocations: 1.679 MB / 1.23 GB, free: 6.348 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.002842/1.512, allocations: 483.4 kB / 1.23 GB, free: 5.871 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/1.512, allocations: 168.5 kB / 1.23 GB, free: 5.707 MB / 1.073 GB Notification: Performance of SimCode: time 1.823e-06/1.512, allocations: 3.938 kB / 1.23 GB, free: 5.703 MB / 1.073 GB Notification: Performance of Templates: time 0.1344/1.647, allocations: 72.64 MB / 1.301 GB, free: 14.35 MB / 1.151 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.508744624443352]