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.001244/0.001244, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001356/0.001356, allocations: 172.6 kB / 25.05 MB, free: 9.23 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 0.8753/0.8753, allocations: 177.1 MB / 205.5 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.974/1.974, allocations: 389.5 MB / 0.6363 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 178] 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.573e-06/1.573e-06, allocations: 0 / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.324e-05, allocations: 11 kB / 0.7762 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01414/0.01416, allocations: 15.05 MB / 0.7908 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.02879, allocations: 12.83 MB / 0.8034 GB, free: 9.359 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.03105, allocations: 171.8 kB / 0.8035 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.03263, allocations: 0.7286 MB / 0.8043 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006218/0.03885, allocations: 3.22 MB / 0.8074 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.04152, allocations: 1.317 MB / 0.8087 GB, free: 3.957 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006204/0.04773, allocations: 5.971 MB / 0.8145 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.05103, allocations: 3.008 MB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.05535, allocations: 3.696 MB / 0.8211 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.05762, allocations: 1.984 MB / 0.823 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.05802, allocations: 364.7 kB / 0.8233 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.05872, allocations: 447.8 kB / 0.8238 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0009336/0.05965, allocations: 1.286 MB / 0.825 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.06076, allocations: 1.383 MB / 0.8264 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.06334, allocations: 3.064 MB / 0.8294 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.06335, allocations: 2.156 kB / 0.8294 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.563e-06/0.06335, allocations: 0 / 0.8294 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.766e-05/0.0634, allocations: 0 / 0.8294 GB, free: 14.64 MB / 0.7917 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.0044/0.0678, allocations: 4.362 MB / 0.8336 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.06783, allocations: 9.344 kB / 0.8336 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.07284, allocations: 2.01 MB / 0.8356 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.07499, allocations: 1.885 MB / 0.8374 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.07522, allocations: 470.3 kB / 0.8379 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005084/0.07573, allocations: 240.4 kB / 0.8381 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.07885, allocations: 3.238 MB / 0.8413 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.07888, allocations: 4 kB / 0.8413 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.07908, allocations: 108 kB / 0.8414 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.07921, allocations: 172.8 kB / 0.8416 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.08049, allocations: 0.9821 MB / 0.8425 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007507/0.088, allocations: 5.74 MB / 0.8481 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.09028, allocations: 1.622 MB / 0.8497 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.09072, allocations: 383.6 kB / 0.8501 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.09081, allocations: 25.31 kB / 0.8501 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009974/0.09181, allocations: 1.537 MB / 0.8516 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=163): time 3.256e-06/0.09181, allocations: 0 / 0.8516 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of matching and sorting (n=163): time 0.00639/0.0982, allocations: 3.341 MB / 0.8549 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.09836, allocations: 495.9 kB / 0.8553 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.09959, allocations: 1.688 MB / 0.857 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.0997, allocations: 65.7 kB / 0.857 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/0.1003, allocations: 1.043 MB / 0.8581 GB, free: 260 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.1006, allocations: 0.5578 MB / 0.8586 GB, free: 15.69 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000619/0.1012, allocations: 295.3 kB / 0.8589 GB, free: 15.39 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.1013, allocations: 301.1 kB / 0.8592 GB, free: 15.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.1017, allocations: 408.4 kB / 0.8596 GB, free: 14.67 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.1024, allocations: 1.076 MB / 0.8606 GB, free: 13.39 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.1033, allocations: 1.032 MB / 0.8616 GB, free: 12.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1033, allocations: 0 / 0.8616 GB, free: 12.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002634/0.1059, allocations: 1.917 MB / 0.8635 GB, free: 10.26 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.106, allocations: 148.5 kB / 0.8636 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.106, allocations: 4 kB / 0.8636 GB, free: 10.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.1087, allocations: 1.232 MB / 0.8648 GB, free: 8.848 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.1095, allocations: 327.5 kB / 0.8652 GB, free: 8.527 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/0.1169, allocations: 4.839 MB / 0.8699 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.1187, allocations: 250.8 kB / 0.8701 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.1188, allocations: 55.97 kB / 0.8702 GB, free: 3.309 MB / 0.823 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.000703/0.1195, allocations: 222.3 kB / 0.8704 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.1198, allocations: 231.7 kB / 0.8706 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.12, allocations: 298.3 kB / 0.8709 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.12, allocations: 16 kB / 0.8709 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.12, allocations: 0 / 0.8709 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.12, allocations: 15.91 kB / 0.8709 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.1215, allocations: 1.206 MB / 0.8721 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.1215, allocations: 4 kB / 0.8721 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.1222, allocations: 243.6 kB / 0.8723 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/0.1251, allocations: 1.187 MB / 0.8735 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.1252, allocations: 35.97 kB / 0.8735 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006903/0.1321, allocations: 4.678 MB / 0.8781 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1321, allocations: 7.922 kB / 0.8781 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.1349, allocations: 1.523 MB / 0.8796 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.136, allocations: 361.8 kB / 0.8799 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.1362, allocations: 39.92 kB / 0.88 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.1369, allocations: 155.8 kB / 0.8801 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/0.1374, allocations: 217.6 kB / 0.8803 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.1374, allocations: 39.97 kB / 0.8804 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007274/0.1382, allocations: 0.8922 MB / 0.8812 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1382, allocations: 0 / 0.8812 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001608/0.1398, allocations: 0.9709 MB / 0.8822 GB, free: 6.82 MB / 0.8386 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002142/0.14, allocations: 124.3 kB / 0.8823 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003578/0.1436, allocations: 2.254 MB / 0.8845 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-05/0.1436, allocations: 28.5 kB / 0.8845 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002711/0.1463, allocations: 1.416 MB / 0.8859 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.149, allocations: 1.046 MB / 0.8869 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.1555, allocations: 4.865 MB / 0.8917 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.156, allocations: 0.6577 MB / 0.8923 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001286/0.1573, allocations: 344.4 kB / 0.8927 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.1588, allocations: 0.8229 MB / 0.8935 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of SimCode: time 2.494e-06/0.1588, allocations: 0 / 0.8935 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.06823/0.2271, allocations: 58.26 MB / 0.9504 GB, free: 2.113 MB / 0.9011 GB " [Timeout remaining time 300] 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: 6.1959912879392505]