Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03009/0.3513, allocations: 22.94 MB / 1.236 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02794/0.3793, allocations: 17.79 MB / 1.254 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.3823, allocations: 115.4 kB / 1.254 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.3936, allocations: 4.216 MB / 1.258 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.4058, allocations: 3.579 MB / 1.262 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6408/1.047, allocations: 1.308 MB / 1.263 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01055/1.057, allocations: 5.772 MB / 1.268 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/1.063, allocations: 2.805 MB / 1.271 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007297/1.07, allocations: 2.478 MB / 1.274 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008309/1.078, allocations: 2.511 MB / 1.276 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002396/1.081, allocations: 370.1 kB / 1.276 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/1.086, allocations: 1.056 MB / 1.277 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003002/1.089, allocations: 1.217 MB / 1.279 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007958/1.097, allocations: 1.994 MB / 1.281 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/1.11, allocations: 5.19 MB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.11, allocations: 0 / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.11, allocations: 1.188 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002246/1.11, allocations: 0 / 1.286 GB, free: 7.055 MB / 0.9981 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.01829/1.128, allocations: 4.713 MB / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.128, allocations: 9.844 kB / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/1.147, allocations: 3.286 MB / 1.294 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/1.153, allocations: 2.255 MB / 1.296 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/1.153, allocations: 467.9 kB / 1.296 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/1.155, allocations: 231.8 kB / 1.296 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/1.171, allocations: 4.817 MB / 1.301 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/1.171, allocations: 1.125 kB / 1.301 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004545/1.171, allocations: 102 kB / 1.301 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/1.171, allocations: 178.8 kB / 1.301 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/1.188, allocations: 5.193 MB / 1.306 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03935/1.228, allocations: 14.42 MB / 1.321 GB, free: 7.508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.245, allocations: 3.259 MB / 1.324 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008251/1.253, allocations: 1.371 MB / 1.325 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/1.253, allocations: 29.36 kB / 1.325 GB, free: 6.094 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009447/1.263, allocations: 1.801 MB / 1.327 GB, free: 5.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=163): time 1.082e-05/1.263, allocations: 0 / 1.327 GB, free: 5.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=250): time 0.1588/1.422, allocations: 28.22 MB / 1.354 GB, free: 5.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000385/1.422, allocations: 0.4928 MB / 1.355 GB, free: 5.215 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/1.427, allocations: 2.3 MB / 1.357 GB, free: 2.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0006391/1.427, allocations: 73.7 kB / 1.357 GB, free: 2.824 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.429, allocations: 1.459 MB / 1.359 GB, free: 1.355 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.431, allocations: 0.8567 MB / 1.359 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/1.432, allocations: 416.5 kB / 1.36 GB, free: 100 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.432, allocations: 305.1 kB / 1.36 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.438, allocations: 1.926 MB / 1.362 GB, free: 13.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006486/1.445, allocations: 2.237 MB / 1.364 GB, free: 11.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.457, allocations: 4.165 MB / 1.368 GB, free: 7.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.457, allocations: 0 / 1.368 GB, free: 7.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02269/1.48, allocations: 6.479 MB / 1.375 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.48, allocations: 148.5 kB / 1.375 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/1.48, allocations: 4 kB / 1.375 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.492, allocations: 2.927 MB / 1.378 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/1.495, allocations: 484.8 kB / 1.378 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04753/1.543, allocations: 18.87 MB / 1.396 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.548, allocations: 323.6 kB / 1.397 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006842/1.548, allocations: 84.73 kB / 1.397 GB, free: 9.809 MB / 1.076 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.002401/1.551, allocations: 0.7071 MB / 1.398 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.552, allocations: 341.9 kB / 1.398 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/1.553, allocations: 392 kB / 1.398 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/1.553, allocations: 28 kB / 1.398 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-05/1.553, allocations: 8 kB / 1.398 GB, free: 8.348 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/1.553, allocations: 13.27 kB / 1.398 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/1.56, allocations: 3.622 MB / 1.402 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/1.56, allocations: 0 / 1.402 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.563, allocations: 414.8 kB / 1.402 GB, free: 4.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/1.574, allocations: 2.874 MB / 1.405 GB, free: 1.438 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006585/1.575, allocations: 51.97 kB / 1.405 GB, free: 1.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0552/1.63, allocations: 18.63 MB / 1.423 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.63, allocations: 0 / 1.423 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03016/1.66, allocations: 6.114 MB / 1.429 GB, free: 8.441 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/1.664, allocations: 0.7135 MB / 1.43 GB, free: 7.707 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/1.665, allocations: 47.94 kB / 1.43 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006221/1.672, allocations: 319.5 kB / 1.43 GB, free: 7.348 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002364/1.674, allocations: 354.7 kB / 1.431 GB, free: 7 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000649/1.675, allocations: 75.16 kB / 1.431 GB, free: 6.93 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004857/1.68, allocations: 1.528 MB / 1.432 GB, free: 5.402 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.91e-07/1.68, allocations: 4 kB / 1.432 GB, free: 5.398 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.007101/1.687, allocations: 1.043 MB / 1.433 GB, free: 4.355 MB / 1.107 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.0009602/1.688, allocations: 168.8 kB / 1.433 GB, free: 4.195 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0391/1.727, allocations: 6.32 MB / 1.44 GB, free: 13.81 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.727, allocations: 0 / 1.44 GB, free: 13.81 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.02566/1.752, allocations: 3.914 MB / 1.443 GB, free: 9.891 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007739/1.76, allocations: 1.14 MB / 1.445 GB, free: 8.809 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.781, allocations: 6.995 MB / 1.451 GB, free: 1.793 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/1.784, allocations: 2.231 MB / 1.454 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.786, allocations: 203.4 kB / 1.454 GB, free: 15.33 MB / 1.139 GB Notification: Performance of SimCode: time 1.624e-06/1.786, allocations: 4 kB / 1.454 GB, free: 15.32 MB / 1.139 GB Notification: Performance of Templates: time 0.1252/1.911, allocations: 80.37 MB / 1.532 GB, free: 15.44 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 23.802223316160962] Failed to read output from testmodel.py, exit status != 0: 1.921657495899126 1.9362796260000001 0.8229724540000001 Calling exit ...