Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001264/0.001264, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001332/0.001332, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.331/1.331, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 175.8 MB / 481.9 MB, free: 7.691 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 65.08 kB / 0.6705 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.467, allocations: 94.53 MB / 0.7628 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02543/0.4925, allocations: 23.48 MB / 0.7858 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.5209, allocations: 18.15 MB / 0.8035 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.5249, allocations: 114.6 kB / 0.8036 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.5366, allocations: 4.318 MB / 0.8078 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.5493, allocations: 3.588 MB / 0.8113 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.5536, allocations: 1.338 MB / 0.8126 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009277/0.5628, allocations: 5.783 MB / 0.8183 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004115/0.567, allocations: 2.466 MB / 0.8207 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/0.5717, allocations: 2.476 MB / 0.8231 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.5768, allocations: 2.513 MB / 0.8256 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008416/0.5777, allocations: 373.2 kB / 0.8259 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.5804, allocations: 1.059 MB / 0.8269 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.5817, allocations: 1.224 MB / 0.8281 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.5846, allocations: 1.996 MB / 0.8301 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008718/0.5933, allocations: 5.201 MB / 0.8352 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.5933, allocations: 0 / 0.8352 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5933, allocations: 1.281 kB / 0.8352 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001397/0.5935, allocations: 0 / 0.8352 GB, free: 10.18 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.01304/0.6065, allocations: 4.721 MB / 0.8398 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6065, allocations: 9.719 kB / 0.8398 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.6228, allocations: 3.287 MB / 0.843 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.6284, allocations: 2.261 MB / 0.8452 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.6289, allocations: 466.3 kB / 0.8457 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005523/0.6294, allocations: 235.9 kB / 0.8459 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.6407, allocations: 4.81 MB / 0.8506 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.6408, allocations: 0 / 0.8506 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.6411, allocations: 108 kB / 0.8507 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/0.6413, allocations: 168.8 kB / 0.8508 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.6548, allocations: 5.198 MB / 0.8559 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.6795, allocations: 14.42 MB / 0.87 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/0.6894, allocations: 3.258 MB / 0.8732 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.6932, allocations: 1.373 MB / 0.8745 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.6933, allocations: 25.28 kB / 0.8745 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004461/0.6978, allocations: 1.789 MB / 0.8763 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 4.168e-06/0.6978, allocations: 0 / 0.8763 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1313/0.8291, allocations: 28.22 MB / 0.9039 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003692/0.8294, allocations: 0.4889 MB / 0.9043 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/0.8342, allocations: 2.296 MB / 0.9066 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005039/0.8347, allocations: 73.69 kB / 0.9066 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.8364, allocations: 1.464 MB / 0.9081 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.8377, allocations: 0.8559 MB / 0.9089 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.8391, allocations: 412.5 kB / 0.9093 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8392, allocations: 305.1 kB / 0.9096 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005829/0.845, allocations: 1.929 MB / 0.9115 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/0.8513, allocations: 2.235 MB / 0.9137 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/0.8631, allocations: 4.169 MB / 0.9177 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.8631, allocations: 0 / 0.9177 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02095/0.8841, allocations: 6.478 MB / 0.9241 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.8842, allocations: 148.5 kB / 0.9242 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.8843, allocations: 4 kB / 0.9242 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.8949, allocations: 2.93 MB / 0.9271 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.8979, allocations: 483.2 kB / 0.9275 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04494/0.9429, allocations: 18.86 MB / 0.9459 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.9475, allocations: 323.6 kB / 0.9463 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/0.948, allocations: 87.97 kB / 0.9463 GB, free: 8.051 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.002055/0.9501, allocations: 0.7099 MB / 0.947 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009355/0.951, allocations: 341.9 kB / 0.9474 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008551/0.9519, allocations: 388.1 kB / 0.9477 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.9519, allocations: 27.98 kB / 0.9478 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.9519, allocations: 8 kB / 0.9478 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.9519, allocations: 15.89 kB / 0.9478 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/0.9581, allocations: 3.624 MB / 0.9513 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.9581, allocations: 0 / 0.9513 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/0.9606, allocations: 423.3 kB / 0.9517 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009894/0.9705, allocations: 2.865 MB / 0.9545 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/0.9709, allocations: 47.97 kB / 0.9546 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04208/1.013, allocations: 18.64 MB / 0.9728 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.013, allocations: 0 / 0.9728 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/1.032, allocations: 6.112 MB / 0.9787 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.035, allocations: 0.7096 MB / 0.9794 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.036, allocations: 55.88 kB / 0.9795 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/1.039, allocations: 323.4 kB / 0.9798 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/1.041, allocations: 350.7 kB / 0.9801 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000277/1.041, allocations: 75.91 kB / 0.9802 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002777/1.044, allocations: 1.532 MB / 0.9817 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.044, allocations: 4 kB / 0.9817 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003467/1.047, allocations: 1.043 MB / 0.9827 GB, free: 2.367 MB / 0.7637 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.0004499/1.048, allocations: 163 kB / 0.9829 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02415/1.072, allocations: 6.312 MB / 0.989 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.072, allocations: 0 / 0.989 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01793/1.09, allocations: 3.924 MB / 0.9929 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006293/1.096, allocations: 1.137 MB / 0.994 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.113, allocations: 6.842 MB / 1.001 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/1.115, allocations: 2.234 MB / 1.003 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002471/1.118, allocations: 0.506 MB / 1.003 GB, free: 13.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008278/1.119, allocations: 191.4 kB / 1.004 GB, free: 12.89 MB / 0.795 GB Notification: Performance of SimCode: time 8.41e-07/1.119, allocations: 0 / 1.004 GB, free: 12.89 MB / 0.795 GB Notification: Performance of Templates: time 0.1319/1.251, allocations: 77.67 MB / 1.079 GB, free: 100 kB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.694253674708307] Failed to read output from testmodel.py, exit status != 0: 1.2607688279822469 1.274606595 0.678255364 Calling exit ...