Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001801/0.001801, allocations: 120 kB / 17.08 MB, free: 5.789 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.002112/0.002112, allocations: 191.7 kB / 20.03 MB, free: 2.91 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.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 489.3 MB / 0.7687 GB, free: 3.957 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.88 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.048, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02538/1.073, allocations: 22.64 MB / 1.285 GB, free: 8.457 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03068/1.104, allocations: 17.61 MB / 1.302 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005056/1.109, allocations: 118.2 kB / 1.302 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.012/1.121, allocations: 4.176 MB / 1.306 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/1.135, allocations: 3.509 MB / 1.31 GB, free: 7.555 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004924/1.14, allocations: 1.312 MB / 1.311 GB, free: 6.871 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01402/1.154, allocations: 5.779 MB / 1.316 GB, free: 4.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008639/1.163, allocations: 3.581 MB / 1.32 GB, free: 2.477 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/1.17, allocations: 2.406 MB / 1.322 GB, free: 1.457 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006902/1.176, allocations: 2.449 MB / 1.325 GB, free: 396 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002163/1.179, allocations: 369 kB / 1.325 GB, free: 396 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/1.183, allocations: 1.035 MB / 1.326 GB, free: 120 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003133/1.187, allocations: 1.196 MB / 1.327 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006722/1.193, allocations: 1.995 MB / 1.329 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/1.206, allocations: 5.189 MB / 1.334 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.206, allocations: 0.5625 kB / 1.334 GB, free: 12.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/1.206, allocations: 0 / 1.334 GB, free: 12.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002216/1.207, allocations: 0 / 1.334 GB, free: 12.38 MB / 1.045 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.01495/1.222, allocations: 4.725 MB / 1.339 GB, free: 9.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.222, allocations: 10.69 kB / 1.339 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/1.239, allocations: 3.286 MB / 1.342 GB, free: 8.695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/1.246, allocations: 2.25 MB / 1.344 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/1.246, allocations: 466.8 kB / 1.345 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009646/1.247, allocations: 235.1 kB / 1.345 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/1.26, allocations: 4.81 MB / 1.35 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/1.26, allocations: 1.25 kB / 1.35 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/1.261, allocations: 109.8 kB / 1.35 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002326/1.261, allocations: 171.8 kB / 1.35 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/1.276, allocations: 5.202 MB / 1.355 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/1.303, allocations: 14.41 MB / 1.369 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.314, allocations: 3.397 MB / 1.372 GB, free: 2.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/1.318, allocations: 1.48 MB / 1.374 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/1.318, allocations: 21.67 kB / 1.374 GB, free: 2.031 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004781/1.323, allocations: 1.801 MB / 1.376 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of pre-optimization done (n=163): time 4.198e-06/1.323, allocations: 4 kB / 1.376 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of matching and sorting (n=250): time 0.1376/1.461, allocations: 28.29 MB / 1.403 GB, free: 6.598 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003183/1.461, allocations: 0.4889 MB / 1.404 GB, free: 6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/1.465, allocations: 2.296 MB / 1.406 GB, free: 3.691 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006861/1.466, allocations: 77.7 kB / 1.406 GB, free: 3.609 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.467, allocations: 1.456 MB / 1.407 GB, free: 2.141 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.469, allocations: 0.8559 MB / 1.408 GB, free: 1.277 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009746/1.47, allocations: 424.5 kB / 1.409 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.47, allocations: 305.1 kB / 1.409 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005626/1.476, allocations: 1.929 MB / 1.411 GB, free: 14.62 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005921/1.481, allocations: 2.235 MB / 1.413 GB, free: 12.3 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.493, allocations: 4.154 MB / 1.417 GB, free: 8.012 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.493, allocations: 0 / 1.417 GB, free: 8.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0202/1.513, allocations: 6.56 MB / 1.424 GB, free: 1.359 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.513, allocations: 148.5 kB / 1.424 GB, free: 1.184 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.513, allocations: 8 kB / 1.424 GB, free: 1.176 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/1.524, allocations: 2.926 MB / 1.427 GB, free: 14.24 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/1.527, allocations: 483.2 kB / 1.427 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04277/1.57, allocations: 18.87 MB / 1.445 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/1.575, allocations: 323.6 kB / 1.446 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/1.575, allocations: 87.97 kB / 1.446 GB, free: 10.25 MB / 1.139 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.001745/1.577, allocations: 0.7066 MB / 1.446 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007277/1.578, allocations: 349.8 kB / 1.447 GB, free: 9.184 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/1.578, allocations: 380.1 kB / 1.447 GB, free: 8.805 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/1.578, allocations: 27.94 kB / 1.447 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-05/1.578, allocations: 8 kB / 1.447 GB, free: 8.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/1.578, allocations: 15.95 kB / 1.447 GB, free: 8.754 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005517/1.584, allocations: 3.624 MB / 1.451 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.584, allocations: 0 / 1.451 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.587, allocations: 415.4 kB / 1.451 GB, free: 4.668 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/1.598, allocations: 2.865 MB / 1.454 GB, free: 1.793 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005334/1.598, allocations: 55.97 kB / 1.454 GB, free: 1.738 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04346/1.642, allocations: 18.64 MB / 1.472 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.642, allocations: 0 / 1.472 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.662, allocations: 6.198 MB / 1.478 GB, free: 8.578 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/1.665, allocations: 0.7134 MB / 1.479 GB, free: 7.844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000871/1.666, allocations: 51.94 kB / 1.479 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/1.669, allocations: 311.6 kB / 1.479 GB, free: 7.488 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00138/1.671, allocations: 354.7 kB / 1.48 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.671, allocations: 67.97 kB / 1.48 GB, free: 7.074 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002788/1.674, allocations: 1.536 MB / 1.481 GB, free: 5.539 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.674, allocations: 0 / 1.481 GB, free: 5.539 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003664/1.677, allocations: 1.043 MB / 1.482 GB, free: 4.496 MB / 1.17 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.0004355/1.678, allocations: 167 kB / 1.482 GB, free: 4.324 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02542/1.703, allocations: 6.488 MB / 1.489 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.703, allocations: 0.5625 kB / 1.489 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01875/1.722, allocations: 4.072 MB / 1.493 GB, free: 9.641 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005747/1.728, allocations: 1.13 MB / 1.494 GB, free: 8.551 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.744, allocations: 6.977 MB / 1.501 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/1.747, allocations: 2.235 MB / 1.503 GB, free: 15.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.748, allocations: 203.3 kB / 1.503 GB, free: 15.07 MB / 1.201 GB Notification: Performance of SimCode: time 3.777e-06/1.748, allocations: 0 / 1.503 GB, free: 15.07 MB / 1.201 GB Notification: Performance of Templates: time 0.1184/1.867, allocations: 80.22 MB / 1.581 GB, free: 15.16 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 24.321838941890746] Failed to read output from testmodel.py, exit status != 0: 1.8747390690259635 1.887878252 0.6788030509999999 Calling exit ...