Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00251/0.00251, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.003074/0.003074, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.004428/0.004428, allocations: 238 kB / 259.8 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.176/1.176, allocations: 138.4 MB / 454.7 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.574e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03254/0.03257, allocations: 22.67 MB / 0.5765 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03122/0.06379, allocations: 17.8 MB / 0.5939 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.06709, allocations: 150.8 kB / 0.594 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.07938, allocations: 4.279 MB / 0.5982 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.09235, allocations: 3.702 MB / 0.6018 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.2287/0.321, allocations: 1.317 MB / 0.6031 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007162/0.3282, allocations: 5.97 MB / 0.6089 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005031/0.3332, allocations: 2.848 MB / 0.6117 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.3402, allocations: 3.502 MB / 0.6151 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.345, allocations: 2.127 MB / 0.6172 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.3461, allocations: 367.5 kB / 0.6176 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.3489, allocations: 0.9743 MB / 0.6185 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.3503, allocations: 1.288 MB / 0.6198 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.353, allocations: 1.394 MB / 0.6211 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008828/0.3619, allocations: 5.265 MB / 0.6263 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3619, allocations: 3.375 kB / 0.6263 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3619, allocations: 0 / 0.6263 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001806/0.3621, allocations: 0 / 0.6263 GB, free: 58.43 MB / 0.5105 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.01235/0.3744, allocations: 4.976 MB / 0.6311 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3745, allocations: 12.06 kB / 0.6311 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.3886, allocations: 3.07 MB / 0.6341 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/0.3944, allocations: 2.212 MB / 0.6363 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.3947, allocations: 465.6 kB / 0.6367 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/0.3953, allocations: 254.7 kB / 0.637 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007124/0.4024, allocations: 4.41 MB / 0.6413 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.4025, allocations: 0 / 0.6413 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.4028, allocations: 111.1 kB / 0.6414 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.403, allocations: 173.9 kB / 0.6416 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007018/0.41, allocations: 2.699 MB / 0.6442 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.4264, allocations: 9.016 MB / 0.653 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006175/0.4326, allocations: 2.226 MB / 0.6552 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.4347, allocations: 0.8214 MB / 0.656 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.4349, allocations: 32.16 kB / 0.656 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/0.4375, allocations: 2.022 MB / 0.658 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 4.217e-06/0.4375, allocations: 0.9375 kB / 0.658 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.03302/0.4705, allocations: 9.361 MB / 0.6671 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.4707, allocations: 0.492 MB / 0.6676 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.4732, allocations: 2.441 MB / 0.67 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.4735, allocations: 81.69 kB / 0.6701 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/0.4744, allocations: 1.624 MB / 0.6717 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/0.475, allocations: 0.9125 MB / 0.6725 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008262/0.4758, allocations: 486.6 kB / 0.673 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.4759, allocations: 480.7 kB / 0.6735 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.4789, allocations: 1.266 MB / 0.6747 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/0.4822, allocations: 2.122 MB / 0.6768 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/0.4882, allocations: 3.045 MB / 0.6798 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4882, allocations: 4 kB / 0.6798 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01319/0.5014, allocations: 4.871 MB / 0.6845 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.5015, allocations: 148.5 kB / 0.6847 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.5015, allocations: 7.938 kB / 0.6847 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/0.514, allocations: 2.991 MB / 0.6876 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.5162, allocations: 391.8 kB / 0.688 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03484/0.5511, allocations: 13.6 MB / 0.7012 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.555, allocations: 199.8 kB / 0.7014 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005862/0.5556, allocations: 99.44 kB / 0.7015 GB, free: 12.99 MB / 0.5261 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.00177/0.5574, allocations: 463.8 kB / 0.702 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.5586, allocations: 390.1 kB / 0.7023 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.5597, allocations: 361.2 kB / 0.7027 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.5597, allocations: 28 kB / 0.7027 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-05/0.5598, allocations: 15.94 kB / 0.7027 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.5598, allocations: 11.95 kB / 0.7027 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.5658, allocations: 2.677 MB / 0.7053 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.5658, allocations: 0 / 0.7053 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.5678, allocations: 302.2 kB / 0.7056 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/0.5822, allocations: 2.934 MB / 0.7085 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/0.5827, allocations: 51.97 kB / 0.7086 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03996/0.6227, allocations: 13.34 MB / 0.7216 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6227, allocations: 0 / 0.7216 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.6396, allocations: 4.446 MB / 0.7259 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/0.6419, allocations: 0.5896 MB / 0.7265 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009131/0.6428, allocations: 47.94 kB / 0.7265 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/0.6458, allocations: 199.8 kB / 0.7267 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001279/0.6471, allocations: 383.5 kB / 0.7271 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/0.6474, allocations: 75.95 kB / 0.7272 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002721/0.6501, allocations: 1.473 MB / 0.7286 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.6501, allocations: 3.938 kB / 0.7286 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003664/0.6537, allocations: 1.031 MB / 0.7296 GB, free: 88 kB / 0.5417 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.0004738/0.6542, allocations: 169.4 kB / 0.7298 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0218/0.676, allocations: 5.263 MB / 0.7349 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.676, allocations: 4 kB / 0.7349 GB, free: 10.54 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0171/0.6931, allocations: 3.522 MB / 0.7384 GB, free: 7.004 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005985/0.6991, allocations: 1.106 MB / 0.7394 GB, free: 5.996 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.7153, allocations: 6.039 MB / 0.7453 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.7184, allocations: 1.629 MB / 0.7469 GB, free: 14.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002485/0.7209, allocations: 414.8 kB / 0.7473 GB, free: 13.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008987/0.7218, allocations: 180.4 kB / 0.7475 GB, free: 13.67 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/0.7218, allocations: 0 / 0.7475 GB, free: 13.67 MB / 0.573 GB Notification: Performance of Templates: time 0.1379/0.8596, allocations: 73.68 MB / 0.8194 GB, free: 5.383 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.109450458083302]