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.001318/0.001318, allocations: 112.2 kB / 17.08 MB, free: 5.977 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.00138/0.00138, allocations: 196.2 kB / 20.03 MB, free: 3.043 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.263/1.263, allocations: 175.5 MB / 473.4 MB, free: 4.867 MB / 366.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.001937/0.001937, allocations: 72.41 kB / 0.6521 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1689, allocations: 90.05 MB / 0.74 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02695/0.1959, allocations: 22.62 MB / 0.7621 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02665/0.2226, allocations: 17.64 MB / 0.7793 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.2259, allocations: 111.4 kB / 0.7794 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.2367, allocations: 4.168 MB / 0.7835 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.2486, allocations: 3.509 MB / 0.7869 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.2525, allocations: 1.317 MB / 0.7882 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009696/0.2622, allocations: 5.789 MB / 0.7939 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005764/0.268, allocations: 3.588 MB / 0.7974 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.2726, allocations: 2.41 MB / 0.7997 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.2777, allocations: 2.455 MB / 0.8021 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.2793, allocations: 372 kB / 0.8025 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.2827, allocations: 1.034 MB / 0.8035 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.2844, allocations: 1.188 MB / 0.8046 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003462/0.2879, allocations: 2.002 MB / 0.8066 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.2953, allocations: 5.191 MB / 0.8117 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2953, allocations: 4 kB / 0.8117 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2953, allocations: 0 / 0.8117 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001385/0.2954, allocations: 0 / 0.8117 GB, free: 6.664 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.01346/0.3089, allocations: 4.726 MB / 0.8163 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.309, allocations: 12.03 kB / 0.8163 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/0.3257, allocations: 3.279 MB / 0.8195 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/0.3307, allocations: 2.258 MB / 0.8217 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/0.3312, allocations: 466.3 kB / 0.8221 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.332, allocations: 235.9 kB / 0.8224 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.3447, allocations: 4.818 MB / 0.8271 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.3448, allocations: 3.938 kB / 0.8271 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.3452, allocations: 99.98 kB / 0.8272 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.3456, allocations: 168.8 kB / 0.8273 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.3609, allocations: 5.195 MB / 0.8324 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.3875, allocations: 14.43 MB / 0.8465 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.3987, allocations: 3.387 MB / 0.8498 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004205/0.403, allocations: 1.467 MB / 0.8512 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.4032, allocations: 33.22 kB / 0.8513 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004953/0.4081, allocations: 1.782 MB / 0.853 GB, free: 10.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=163): time 5.601e-06/0.4082, allocations: 4 kB / 0.853 GB, free: 10.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=250): time 0.5277/0.9359, allocations: 28.29 MB / 0.8806 GB, free: 111.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.9361, allocations: 0.4931 MB / 0.8811 GB, free: 110.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.9393, allocations: 2.306 MB / 0.8834 GB, free: 109.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004306/0.9397, allocations: 76.73 kB / 0.8834 GB, free: 109.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.9407, allocations: 1.452 MB / 0.8849 GB, free: 108.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.9414, allocations: 0.8621 MB / 0.8857 GB, free: 107.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008235/0.9422, allocations: 419 kB / 0.8861 GB, free: 107.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.9423, allocations: 301.1 kB / 0.8864 GB, free: 107.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005079/0.9474, allocations: 1.932 MB / 0.8883 GB, free: 106.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005029/0.9524, allocations: 2.226 MB / 0.8905 GB, free: 104.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009323/0.9618, allocations: 4.165 MB / 0.8945 GB, free: 102.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.9618, allocations: 0 / 0.8945 GB, free: 102.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01708/0.9789, allocations: 6.555 MB / 0.9009 GB, free: 98.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.979, allocations: 147.5 kB / 0.9011 GB, free: 98.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.979, allocations: 3.688 kB / 0.9011 GB, free: 98.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00908/0.9881, allocations: 2.927 MB / 0.9039 GB, free: 96.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.9909, allocations: 492.5 kB / 0.9044 GB, free: 96.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03329/1.024, allocations: 18.86 MB / 0.9228 GB, free: 77.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.028, allocations: 315.6 kB / 0.9231 GB, free: 76.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/1.029, allocations: 87.97 kB / 0.9232 GB, free: 76.68 MB / 0.67 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.001433/1.03, allocations: 0.7143 MB / 0.9239 GB, free: 75.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006266/1.031, allocations: 345.9 kB / 0.9242 GB, free: 75.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/1.031, allocations: 380.1 kB / 0.9246 GB, free: 75.24 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.031, allocations: 28 kB / 0.9246 GB, free: 75.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-05/1.031, allocations: 12 kB / 0.9246 GB, free: 75.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.031, allocations: 11.95 kB / 0.9246 GB, free: 75.19 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/1.035, allocations: 3.626 MB / 0.9282 GB, free: 71.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.035, allocations: 0 / 0.9282 GB, free: 71.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.037, allocations: 415.4 kB / 0.9286 GB, free: 71.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008667/1.046, allocations: 2.872 MB / 0.9314 GB, free: 68.31 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003618/1.046, allocations: 47.97 kB / 0.9314 GB, free: 68.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0329/1.079, allocations: 18.64 MB / 0.9496 GB, free: 49.35 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.079, allocations: 1.719 kB / 0.9496 GB, free: 49.35 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.095, allocations: 6.19 MB / 0.9557 GB, free: 43.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.097, allocations: 0.7135 MB / 0.9564 GB, free: 42.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.098, allocations: 44.88 kB / 0.9564 GB, free: 42.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/1.101, allocations: 311.6 kB / 0.9567 GB, free: 42.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.102, allocations: 364.4 kB / 0.9571 GB, free: 41.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.103, allocations: 75.16 kB / 0.9571 GB, free: 41.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0017/1.104, allocations: 1.528 MB / 0.9586 GB, free: 40.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/1.104, allocations: 0 / 0.9586 GB, free: 40.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002655/1.107, allocations: 1.047 MB / 0.9596 GB, free: 39.05 MB / 0.67 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.0003338/1.107, allocations: 169.5 kB / 0.9598 GB, free: 38.87 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02121/1.129, allocations: 6.49 MB / 0.9661 GB, free: 32.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.129, allocations: 7.281 kB / 0.9661 GB, free: 32.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01604/1.145, allocations: 4.058 MB / 0.9701 GB, free: 28.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/1.149, allocations: 1.14 MB / 0.9712 GB, free: 27.15 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.164, allocations: 6.98 MB / 0.978 GB, free: 20.15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/1.166, allocations: 2.238 MB / 0.9802 GB, free: 17.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.168, allocations: 199.4 kB / 0.9804 GB, free: 17.68 MB / 0.67 GB Notification: Performance of SimCode: time 1.153e-06/1.168, allocations: 0 / 0.9804 GB, free: 17.68 MB / 0.67 GB Notification: Performance of Templates: time 0.1505/1.318, allocations: 80.2 MB / 1.059 GB, free: 1.809 MB / 0.7325 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.950497886005905] Failed to read output from testmodel.py, exit status != 0: 1.3248460030008573 1.338806942 1.040762208 Calling exit ...