Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001742/0.001742, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001539/0.001539, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.05/1.05, allocations: 149.9 MB / 463 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003959/0.003959, allocations: 66.98 kB / 0.6416 GB, free: 9.547 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2372, allocations: 89.18 MB / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02814/0.2653, allocations: 21.25 MB / 0.7494 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4556/0.7209, allocations: 16.84 MB / 0.7659 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00425/0.7252, allocations: 173.1 kB / 0.766 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.7369, allocations: 4.163 MB / 0.7701 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.7498, allocations: 3.594 MB / 0.7736 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.7541, allocations: 1.309 MB / 0.7749 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.7641, allocations: 5.792 MB / 0.7805 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008365/0.7725, allocations: 2.835 MB / 0.7833 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009013/0.7815, allocations: 2.835 MB / 0.7861 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006862/0.7884, allocations: 2.146 MB / 0.7882 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.7906, allocations: 368.7 kB / 0.7885 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.7954, allocations: 0.9587 MB / 0.7895 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002979/0.7983, allocations: 1.208 MB / 0.7906 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005215/0.8036, allocations: 1.641 MB / 0.7922 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009536/0.8131, allocations: 5.201 MB / 0.7973 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8131, allocations: 4 kB / 0.7973 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8131, allocations: 5.125 kB / 0.7973 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001888/0.8133, allocations: 0 / 0.7973 GB, free: 1.188 MB / 0.5762 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.01246/0.8258, allocations: 4.628 MB / 0.8018 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8258, allocations: 9.781 kB / 0.8019 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.8438, allocations: 3.284 MB / 0.8051 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007032/0.8509, allocations: 2.158 MB / 0.8072 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/0.8515, allocations: 468.4 kB / 0.8076 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.8528, allocations: 233.8 kB / 0.8078 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.8665, allocations: 5.374 MB / 0.8131 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/0.8666, allocations: 2.688 kB / 0.8131 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.8669, allocations: 97.69 kB / 0.8132 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.8671, allocations: 170.2 kB / 0.8133 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.8817, allocations: 5.2 MB / 0.8184 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/0.9042, allocations: 8.764 MB / 0.827 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.9149, allocations: 3.24 MB / 0.8301 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.9192, allocations: 1.371 MB / 0.8315 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.9194, allocations: 21.3 kB / 0.8315 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005279/0.9246, allocations: 2.451 MB / 0.8339 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 5.24e-06/0.9246, allocations: 0 / 0.8339 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1376/1.062, allocations: 27.51 MB / 0.8608 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003547/1.063, allocations: 0.4946 MB / 0.8612 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.067, allocations: 1.998 MB / 0.8632 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006149/1.067, allocations: 77.7 kB / 0.8633 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.069, allocations: 1.468 MB / 0.8647 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.07, allocations: 0.8626 MB / 0.8655 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/1.071, allocations: 424.5 kB / 0.8659 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.071, allocations: 305.1 kB / 0.8662 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.078, allocations: 2.066 MB / 0.8683 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006513/1.084, allocations: 2.774 MB / 0.871 GB, free: 240 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.096, allocations: 4.167 MB / 0.875 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.096, allocations: 0 / 0.875 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0201/1.116, allocations: 6.581 MB / 0.8815 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/1.116, allocations: 156.4 kB / 0.8816 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/1.116, allocations: 4 kB / 0.8816 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/1.127, allocations: 2.923 MB / 0.8845 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.13, allocations: 495.2 kB / 0.8849 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0451/1.175, allocations: 18.19 MB / 0.9027 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.18, allocations: 323.6 kB / 0.903 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005505/1.18, allocations: 91.97 kB / 0.9031 GB, free: 14.88 MB / 0.6856 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.002052/1.182, allocations: 0.6985 MB / 0.9038 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009308/1.183, allocations: 310.1 kB / 0.9041 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/1.184, allocations: 369.1 kB / 0.9044 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/1.184, allocations: 24 kB / 0.9045 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/1.184, allocations: 16 kB / 0.9045 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.184, allocations: 15.89 kB / 0.9045 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/1.189, allocations: 2.738 MB / 0.9072 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/1.189, allocations: 0 / 0.9072 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.192, allocations: 419.3 kB / 0.9076 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/1.203, allocations: 2.858 MB / 0.9104 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005431/1.203, allocations: 51.97 kB / 0.9104 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04624/1.249, allocations: 17.97 MB / 0.928 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.249, allocations: 96 / 0.928 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/1.27, allocations: 6.086 MB / 0.9339 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.272, allocations: 0.607 MB / 0.9345 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.274, allocations: 51.98 kB / 0.9345 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004046/1.278, allocations: 315.6 kB / 0.9348 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/1.279, allocations: 358.5 kB / 0.9352 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00039/1.279, allocations: 71.97 kB / 0.9352 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00264/1.282, allocations: 1.316 MB / 0.9365 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.282, allocations: 3.938 kB / 0.9365 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00503/1.287, allocations: 1.035 MB / 0.9375 GB, free: 11.36 MB / 0.7169 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.0006381/1.288, allocations: 172.2 kB / 0.9377 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02564/1.313, allocations: 6.454 MB / 0.944 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.313, allocations: 0 / 0.944 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01865/1.332, allocations: 3.932 MB / 0.9479 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/1.338, allocations: 1.024 MB / 0.9489 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.359, allocations: 6.805 MB / 0.9555 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.363, allocations: 1.683 MB / 0.9571 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00325/1.366, allocations: 479.4 kB / 0.9576 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/1.367, allocations: 171.3 kB / 0.9578 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of SimCode: time 1.203e-06/1.367, allocations: 0 / 0.9578 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of Templates: time 0.1398/1.507, allocations: 77.58 MB / 1.034 GB, free: 10 MB / 0.8106 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.185023786500096] Failed to read output from testmodel.py, exit status != 0: 1.5205632280558348 1.535362511 0.7187110250000001 Calling exit ...