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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 117.9 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002422/0.002422, allocations: 281.1 kB / 303.6 MB, free: 3.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 180.9 MB / 0.5268 GB, free: 2.73 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002764/0.002764, allocations: 99.84 kB / 0.7259 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5925, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02705/0.6195, allocations: 22.93 MB / 0.8403 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03257/0.6521, allocations: 17.8 MB / 0.8577 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.6562, allocations: 110.1 kB / 0.8578 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.6684, allocations: 4.221 MB / 0.8619 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.6813, allocations: 3.583 MB / 0.8654 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.6858, allocations: 1.318 MB / 0.8667 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.6962, allocations: 5.786 MB / 0.8723 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005142/0.7013, allocations: 2.805 MB / 0.8751 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/0.7069, allocations: 2.479 MB / 0.8775 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006232/0.7131, allocations: 2.504 MB / 0.8799 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.7151, allocations: 369 kB / 0.8803 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.7194, allocations: 1.056 MB / 0.8813 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.7221, allocations: 1.224 MB / 0.8825 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005799/0.7279, allocations: 1.996 MB / 0.8845 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.7386, allocations: 5.206 MB / 0.8895 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7386, allocations: 1.031 kB / 0.8896 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7386, allocations: 4 kB / 0.8896 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002453/0.7389, allocations: 0 / 0.8896 GB, free: 6.859 MB / 0.6231 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.01401/0.7529, allocations: 4.729 MB / 0.8942 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7529, allocations: 8.031 kB / 0.8942 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.7698, allocations: 3.279 MB / 0.8974 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.7753, allocations: 2.254 MB / 0.8996 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/0.7758, allocations: 462.3 kB / 0.9 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008968/0.7767, allocations: 239.9 kB / 0.9003 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.7901, allocations: 4.814 MB / 0.905 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.052e-05/0.7902, allocations: 3.938 kB / 0.905 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008275/0.7911, allocations: 108 kB / 0.9051 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/0.7913, allocations: 172.8 kB / 0.9052 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.807, allocations: 5.194 MB / 0.9103 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.8346, allocations: 14.42 MB / 0.9244 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.8456, allocations: 3.262 MB / 0.9276 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/0.8498, allocations: 1.373 MB / 0.9289 GB, free: 13.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.85, allocations: 25.3 kB / 0.9289 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004964/0.855, allocations: 1.786 MB / 0.9307 GB, free: 11.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=163): time 4.529e-06/0.855, allocations: 0 / 0.9307 GB, free: 11.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=250): time 0.139/0.994, allocations: 28.22 MB / 0.9582 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003165/0.9943, allocations: 496.7 kB / 0.9587 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.9984, allocations: 2.3 MB / 0.9609 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005135/0.9989, allocations: 73.7 kB / 0.961 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1, allocations: 1.464 MB / 0.9624 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.002, allocations: 0.8598 MB / 0.9633 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.003, allocations: 412.5 kB / 0.9637 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.003, allocations: 309.1 kB / 0.964 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/1.009, allocations: 1.925 MB / 0.9659 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006057/1.015, allocations: 2.241 MB / 0.968 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.026, allocations: 4.158 MB / 0.9721 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.026, allocations: 4 kB / 0.9721 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.021/1.047, allocations: 6.478 MB / 0.9784 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.047, allocations: 148.8 kB / 0.9786 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.048, allocations: 11.98 kB / 0.9786 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/1.059, allocations: 2.922 MB / 0.9814 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/1.062, allocations: 491.2 kB / 0.9819 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04486/1.107, allocations: 18.86 MB / 1 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.111, allocations: 323.6 kB / 1.001 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/1.111, allocations: 83.98 kB / 1.001 GB, free: 3.07 MB / 0.7325 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.001812/1.113, allocations: 0.7182 MB / 1.001 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.114, allocations: 341.9 kB / 1.002 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/1.115, allocations: 388.1 kB / 1.002 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.115, allocations: 24 kB / 1.002 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/1.115, allocations: 8 kB / 1.002 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.115, allocations: 11.95 kB / 1.002 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/1.121, allocations: 3.628 MB / 1.006 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.121, allocations: 0 / 1.006 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.123, allocations: 415.4 kB / 1.006 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/1.134, allocations: 2.876 MB / 1.009 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/1.134, allocations: 51.97 kB / 1.009 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0425/1.177, allocations: 18.63 MB / 1.027 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.177, allocations: 3.984 kB / 1.027 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.196, allocations: 6.112 MB / 1.033 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.198, allocations: 0.7135 MB / 1.034 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/1.199, allocations: 47.94 kB / 1.034 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.203, allocations: 311.6 kB / 1.034 GB, free: 392 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.204, allocations: 354.7 kB / 1.035 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.204, allocations: 71.97 kB / 1.035 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002394/1.206, allocations: 1.528 MB / 1.036 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.206, allocations: 8 kB / 1.036 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003487/1.21, allocations: 1.043 MB / 1.037 GB, free: 13.39 MB / 0.7794 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.0004318/1.21, allocations: 164.7 kB / 1.037 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02444/1.235, allocations: 6.32 MB / 1.043 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.235, allocations: 4.75 kB / 1.043 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01793/1.253, allocations: 3.923 MB / 1.047 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.258, allocations: 1.132 MB / 1.048 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.274, allocations: 6.99 MB / 1.055 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.277, allocations: 2.234 MB / 1.057 GB, free: 8.473 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.278, allocations: 203.4 kB / 1.058 GB, free: 8.273 MB / 0.795 GB Notification: Performance of SimCode: time 1.312e-06/1.278, allocations: 0 / 1.058 GB, free: 8.273 MB / 0.795 GB Notification: Performance of Templates: time 0.1167/1.395, allocations: 80.41 MB / 1.136 GB, free: 8.199 MB / 0.8731 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.629371197894216] Failed to read output from testmodel.py, exit status != 0: 1.405664058867842 1.772461551 1.030654796 Calling exit ...