Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 489.7 MB / 0.7761 GB, free: 2.363 MB / 0.6075 GB [Timeout remaining time 86] 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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=522,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=522,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.127 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9035, allocations: 172.1 MB / 1.295 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03051/0.934, allocations: 22.91 MB / 1.317 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.964, allocations: 17.78 MB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.9681, allocations: 111.4 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.9799, allocations: 4.225 MB / 1.339 GB, free: 5.531 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.9929, allocations: 3.582 MB / 1.342 GB, free: 2.703 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.9975, allocations: 1.322 MB / 1.344 GB, free: 1.602 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01024/1.008, allocations: 5.572 MB / 1.349 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005813/1.014, allocations: 2.74 MB / 1.352 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/1.019, allocations: 2.383 MB / 1.354 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00593/1.025, allocations: 2.457 MB / 1.356 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/1.026, allocations: 351.4 kB / 1.357 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/1.03, allocations: 1.038 MB / 1.358 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001796/1.032, allocations: 1.184 MB / 1.359 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004549/1.036, allocations: 1.959 MB / 1.361 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009215/1.045, allocations: 5.079 MB / 1.366 GB, free: 3.672 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.045, allocations: 0 / 1.366 GB, free: 3.672 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.385e-06/1.045, allocations: 5.344 kB / 1.366 GB, free: 3.668 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001927/1.046, allocations: 0 / 1.366 GB, free: 3.668 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.01276/1.058, allocations: 4.503 MB / 1.37 GB, free: 472 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.058, allocations: 9.938 kB / 1.37 GB, free: 472 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.075, allocations: 3.283 MB / 1.373 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/1.08, allocations: 2.227 MB / 1.376 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/1.081, allocations: 173.1 kB / 1.376 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/1.081, allocations: 244.1 kB / 1.376 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/1.093, allocations: 4.689 MB / 1.381 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/1.093, allocations: 0 / 1.381 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/1.094, allocations: 104 kB / 1.381 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/1.094, allocations: 168.8 kB / 1.381 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.108, allocations: 5.124 MB / 1.386 GB, free: 1.922 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/1.132, allocations: 13.93 MB / 1.399 GB, free: 2.824 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.143, allocations: 3.432 MB / 1.403 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/1.147, allocations: 1.295 MB / 1.404 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/1.147, allocations: 29.16 kB / 1.404 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004108/1.151, allocations: 1.71 MB / 1.406 GB, free: 12.28 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 3.767e-06/1.151, allocations: 3.938 kB / 1.406 GB, free: 12.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1203/1.271, allocations: 27.4 MB / 1.433 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003558/1.272, allocations: 0.4889 MB / 1.433 GB, free: 56 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/1.276, allocations: 2.3 MB / 1.435 GB, free: 13.74 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000486/1.277, allocations: 77.7 kB / 1.435 GB, free: 13.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.278, allocations: 1.456 MB / 1.437 GB, free: 12.19 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.28, allocations: 0.8598 MB / 1.438 GB, free: 11.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/1.281, allocations: 416.5 kB / 1.438 GB, free: 10.91 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.281, allocations: 309.1 kB / 1.438 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.286, allocations: 1.755 MB / 1.44 GB, free: 8.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/1.291, allocations: 2.04 MB / 1.442 GB, free: 6.715 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.302, allocations: 3.837 MB / 1.446 GB, free: 2.742 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/1.302, allocations: 0 / 1.446 GB, free: 2.742 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01744/1.319, allocations: 5.749 MB / 1.451 GB, free: 12.91 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.319, allocations: 144.5 kB / 1.452 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.319, allocations: 8 kB / 1.452 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007101/1.326, allocations: 1.836 MB / 1.453 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/1.329, allocations: 0.503 MB / 1.454 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/1.358, allocations: 15.42 MB / 1.469 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.362, allocations: 307.5 kB / 1.469 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006277/1.363, allocations: 91.97 kB / 1.469 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00706/1.37, allocations: 2.32 MB / 1.472 GB, free: 7.992 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005739/1.376, allocations: 2.028 MB / 1.473 GB, free: 5.879 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01131/1.387, allocations: 3.802 MB / 1.477 GB, free: 1.941 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.982e-05/1.387, allocations: 4 kB / 1.477 GB, free: 1.938 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01676/1.404, allocations: 5.585 MB / 1.483 GB, free: 12.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.404, allocations: 156.4 kB / 1.483 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.404, allocations: 8 kB / 1.483 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/1.41, allocations: 1.673 MB / 1.484 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.413, allocations: 0.5148 MB / 1.485 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0251/1.438, allocations: 14.63 MB / 1.499 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.442, allocations: 307.6 kB / 1.5 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/1.443, allocations: 91.97 kB / 1.5 GB, free: 10.57 MB / 1.186 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0008353/1.444, allocations: 314.1 kB / 1.5 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008958/1.445, allocations: 345.9 kB / 1.5 GB, free: 9.914 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.446, allocations: 392.1 kB / 1.501 GB, free: 9.523 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.446, allocations: 27.94 kB / 1.501 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/1.446, allocations: 12 kB / 1.501 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.446, allocations: 15.95 kB / 1.501 GB, free: 9.469 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/1.452, allocations: 3.157 MB / 1.504 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/1.452, allocations: 4 kB / 1.504 GB, free: 6.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.454, allocations: 427.4 kB / 1.504 GB, free: 5.832 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006667/1.461, allocations: 1.699 MB / 1.506 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004769/1.461, allocations: 51.97 kB / 1.506 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02667/1.488, allocations: 15.22 MB / 1.521 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.488, allocations: 0 / 1.521 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.504, allocations: 5.359 MB / 1.526 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/1.506, allocations: 0.6784 MB / 1.527 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.507, allocations: 47.98 kB / 1.527 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/1.511, allocations: 295.6 kB / 1.527 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009847/1.512, allocations: 294.7 kB / 1.527 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.512, allocations: 67.97 kB / 1.527 GB, free: 13.78 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002807/1.515, allocations: 1.536 MB / 1.529 GB, free: 12.24 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/1.515, allocations: 4 kB / 1.529 GB, free: 12.24 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005668/1.521, allocations: 1.644 MB / 1.53 GB, free: 10.59 MB / 1.217 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004171/1.521, allocations: 168.3 kB / 1.531 GB, free: 10.42 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02388/1.545, allocations: 9.014 MB / 1.539 GB, free: 1.223 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.545, allocations: 0.75 kB / 1.539 GB, free: 1.223 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.009131/1.554, allocations: 3.189 MB / 1.543 GB, free: 14 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006209/1.56, allocations: 1.143 MB / 1.544 GB, free: 12.9 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.578, allocations: 6.832 MB / 1.55 GB, free: 6.027 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/1.581, allocations: 2.301 MB / 1.553 GB, free: 3.691 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.583, allocations: 207.4 kB / 1.553 GB, free: 3.488 MB / 1.232 GB Notification: Performance of SimCode: time 2.074e-06/1.583, allocations: 0 / 1.553 GB, free: 3.488 MB / 1.232 GB Notification: Performance of Templates: time 0.1185/1.701, allocations: 80 MB / 1.631 GB, free: 3.805 MB / 1.311 GB [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) [Timeout 400]