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.001637/0.001637, allocations: 119 kB / 19.69 MB, free: 2.199 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.00189/0.00189, allocations: 220 kB / 23.01 MB, free: 5.047 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.015/1.015, allocations: 150 MB / 463.1 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] 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.002098/0.002098, allocations: 70.17 kB / 0.6418 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1946, allocations: 89.17 MB / 0.7288 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02891/0.2235, allocations: 23.48 MB / 0.7518 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4818/0.7054, allocations: 18.18 MB / 0.7695 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005624/0.711, allocations: 186.1 kB / 0.7697 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.7225, allocations: 4.349 MB / 0.774 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.7374, allocations: 3.603 MB / 0.7775 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.7422, allocations: 1.318 MB / 0.7788 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.7555, allocations: 5.798 MB / 0.7844 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006734/0.7622, allocations: 2.883 MB / 0.7872 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009151/0.7714, allocations: 2.862 MB / 0.79 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007051/0.7784, allocations: 2.32 MB / 0.7923 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.7802, allocations: 350.6 kB / 0.7926 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.7854, allocations: 1.039 MB / 0.7936 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.7881, allocations: 1.188 MB / 0.7948 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007408/0.7955, allocations: 1.961 MB / 0.7967 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.8058, allocations: 5.103 MB / 0.8017 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8058, allocations: 0 / 0.8017 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.018e-06/0.8058, allocations: 9.234 kB / 0.8017 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002362/0.8061, allocations: 4 kB / 0.8017 GB, free: 15.14 MB / 0.5919 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.01637/0.8224, allocations: 4.618 MB / 0.8062 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.8225, allocations: 9.125 kB / 0.8062 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.8391, allocations: 3.254 MB / 0.8094 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.8464, allocations: 2.181 MB / 0.8115 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006321/0.847, allocations: 473.1 kB / 0.812 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.8484, allocations: 231.8 kB / 0.8122 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.8622, allocations: 4.703 MB / 0.8168 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.8623, allocations: 3.219 kB / 0.8168 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/0.8626, allocations: 99.52 kB / 0.8169 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.8629, allocations: 173.4 kB / 0.8171 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.8774, allocations: 5.185 MB / 0.8221 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.9079, allocations: 15.05 MB / 0.8368 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/0.9174, allocations: 3.144 MB / 0.8399 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003851/0.9213, allocations: 1.354 MB / 0.8412 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.9215, allocations: 19.42 kB / 0.8412 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004082/0.9255, allocations: 1.601 MB / 0.8428 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=163): time 5.29e-06/0.9255, allocations: 0 / 0.8428 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=250): time 0.1182/1.044, allocations: 26.69 MB / 0.8689 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/1.044, allocations: 88.39 kB / 0.869 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/1.048, allocations: 1.927 MB / 0.8708 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004819/1.048, allocations: 69.7 kB / 0.8709 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.05, allocations: 1.511 MB / 0.8724 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.051, allocations: 0.8659 MB / 0.8732 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/1.052, allocations: 428.9 kB / 0.8736 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.052, allocations: 309.1 kB / 0.8739 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005371/1.058, allocations: 1.851 MB / 0.8757 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005802/1.063, allocations: 2.329 MB / 0.878 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.074, allocations: 4.264 MB / 0.8822 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/1.074, allocations: 4 kB / 0.8822 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315) (initialization): time 0.01903/1.093, allocations: 6.292 MB / 0.8883 GB, free: 14.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.093, allocations: 152.5 kB / 0.8885 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.093, allocations: 12.88 kB / 0.8885 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008368/1.102, allocations: 2.652 MB / 0.8911 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/1.105, allocations: 0.5108 MB / 0.8916 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04135/1.146, allocations: 17.98 MB / 0.9091 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/1.151, allocations: 331.8 kB / 0.9094 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005747/1.152, allocations: 91.98 kB / 0.9095 GB, free: 8.734 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (178): * Single equations (assignments): 171 * 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,48.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.002244/1.154, allocations: 0.7178 MB / 0.9102 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008109/1.155, allocations: 318 kB / 0.9105 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/1.156, allocations: 357.8 kB / 0.9109 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/1.156, allocations: 24 kB / 0.9109 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.824e-05/1.156, allocations: 12 kB / 0.9109 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/1.156, allocations: 15.95 kB / 0.9109 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/1.161, allocations: 3.485 MB / 0.9143 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.161, allocations: 4 kB / 0.9143 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.164, allocations: 411.3 kB / 0.9147 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008455/1.172, allocations: 2.593 MB / 0.9173 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000736/1.173, allocations: 51.97 kB / 0.9173 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03914/1.212, allocations: 17.78 MB / 0.9347 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.212, allocations: 4 kB / 0.9347 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.231, allocations: 5.873 MB / 0.9404 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002802/1.233, allocations: 0.572 MB / 0.941 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.234, allocations: 47.98 kB / 0.941 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003418/1.238, allocations: 307.5 kB / 0.9413 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/1.239, allocations: 366.4 kB / 0.9417 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.239, allocations: 71.97 kB / 0.9417 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002055/1.241, allocations: 1.256 MB / 0.943 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.241, allocations: 0 / 0.943 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003778/1.245, allocations: 0.9648 MB / 0.9439 GB, free: 5.25 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 (varLoad5.count,varLoad4.count,varLoad3.count,varLoad2.count,varLoad1.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 {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003997/1.246, allocations: 167.7 kB / 0.9441 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02218/1.268, allocations: 6.179 MB / 0.9501 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.268, allocations: 0 / 0.9501 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/1.284, allocations: 3.8 MB / 0.9538 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/1.29, allocations: 1.033 MB / 0.9548 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.305, allocations: 6.635 MB / 0.9613 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.307, allocations: 2.233 MB / 0.9635 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002457/1.309, allocations: 484.3 kB / 0.9639 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/1.31, allocations: 167.4 kB / 0.9641 GB, free: 448 kB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/1.31, allocations: 0 / 0.9641 GB, free: 448 kB / 0.7325 GB Notification: Performance of Templates: time 0.1366/1.447, allocations: 72.52 MB / 1.035 GB, free: 8.684 MB / 0.8106 GB " [Timeout remaining time 659] 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: 9.695647411979735] Failed to read output from testmodel.py, exit status != 0: 1.458100006915629 1.477843456 0.667705327 Calling exit ...