Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007536/0.0007536, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.000809/0.000809, allocations: 207.2 kB / 22.99 MB, free: 2.984 MB / 13.93 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 0.9064/0.9064, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7317/0.7317, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: IDEAS 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.0008726/0.0008726, allocations: 76.17 kB / 0.719 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4667, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01861/0.4854, allocations: 21.26 MB / 0.8394 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.5059, allocations: 16.85 MB / 0.8559 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003569/0.5095, allocations: 150.9 kB / 0.856 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006318/0.5158, allocations: 4.173 MB / 0.8601 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.5262, allocations: 3.584 MB / 0.8636 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.5298, allocations: 1.321 MB / 0.8649 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008225/0.538, allocations: 5.808 MB / 0.8705 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00429/0.5423, allocations: 2.833 MB / 0.8733 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/0.5476, allocations: 2.619 MB / 0.8759 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004755/0.5523, allocations: 2.251 MB / 0.8781 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.5535, allocations: 370.1 kB / 0.8784 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.5561, allocations: 0.9555 MB / 0.8793 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.5572, allocations: 1.222 MB / 0.8805 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.5602, allocations: 1.641 MB / 0.8821 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005836/0.5661, allocations: 5.226 MB / 0.8872 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5661, allocations: 0 / 0.8872 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.236e-06/0.5661, allocations: 3.984 kB / 0.8872 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001654/0.5662, allocations: 0 / 0.8872 GB, free: 15.54 MB / 0.6667 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.00739/0.5736, allocations: 4.658 MB / 0.8918 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5737, allocations: 11.97 kB / 0.8918 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008432/0.5821, allocations: 3.291 MB / 0.895 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/0.5861, allocations: 2.131 MB / 0.8971 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.5864, allocations: 470.3 kB / 0.8975 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/0.5868, allocations: 231.9 kB / 0.8978 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/0.595, allocations: 5.876 MB / 0.9035 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.595, allocations: 0 / 0.9035 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.5953, allocations: 112 kB / 0.9036 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.5955, allocations: 168.8 kB / 0.9038 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008492/0.604, allocations: 5.198 MB / 0.9089 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.6175, allocations: 8.748 MB / 0.9174 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00528/0.6227, allocations: 3.251 MB / 0.9206 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.6247, allocations: 1.369 MB / 0.9219 GB, free: 11.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.172e-05/0.6248, allocations: 21.3 kB / 0.9219 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/0.6274, allocations: 2.464 MB / 0.9243 GB, free: 8.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 3.407e-06/0.6274, allocations: 0 / 0.9243 GB, free: 8.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.06171/0.6891, allocations: 27.5 MB / 0.9512 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.6893, allocations: 0.4928 MB / 0.9517 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.6914, allocations: 1.994 MB / 0.9536 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.6917, allocations: 77.7 kB / 0.9537 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.6926, allocations: 1.466 MB / 0.9551 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.6932, allocations: 0.8675 MB / 0.956 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/0.6938, allocations: 420.5 kB / 0.9564 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.6938, allocations: 301.1 kB / 0.9567 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002916/0.6968, allocations: 2.062 MB / 0.9587 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.7, allocations: 2.77 MB / 0.9614 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006078/0.706, allocations: 4.177 MB / 0.9655 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.706, allocations: 0 / 0.9655 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01075/0.7168, allocations: 6.592 MB / 0.9719 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.7169, allocations: 152.5 kB / 0.972 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.7169, allocations: 4 kB / 0.972 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/0.7223, allocations: 2.921 MB / 0.9749 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.724, allocations: 487.2 kB / 0.9754 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.7476, allocations: 18.19 MB / 0.9931 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.7501, allocations: 323.6 kB / 0.9934 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.7503, allocations: 88.16 kB / 0.9935 GB, free: 0.7539 MB / 0.7605 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.00142/0.7517, allocations: 0.7025 MB / 0.9942 GB, free: 44 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/0.7523, allocations: 329.9 kB / 0.9945 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.7527, allocations: 361.2 kB / 0.9949 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.7527, allocations: 28 kB / 0.9949 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/0.7527, allocations: 8 kB / 0.9949 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.7528, allocations: 15.95 kB / 0.9949 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.7558, allocations: 2.716 MB / 0.9976 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.7559, allocations: 4 kB / 0.9976 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7571, allocations: 419.3 kB / 0.998 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/0.7622, allocations: 2.875 MB / 1.001 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.7625, allocations: 55.95 kB / 1.001 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/0.7852, allocations: 17.96 MB / 1.018 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7852, allocations: 0 / 1.018 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.7958, allocations: 6.087 MB / 1.024 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.7973, allocations: 0.5993 MB / 1.025 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/0.7978, allocations: 44 kB / 1.025 GB, free: 272 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.7996, allocations: 319.6 kB / 1.025 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/0.8005, allocations: 362.5 kB / 1.026 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.8006, allocations: 79.95 kB / 1.026 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001586/0.8022, allocations: 1.313 MB / 1.027 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8022, allocations: 0 / 1.027 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002651/0.8049, allocations: 1.039 MB / 1.028 GB, free: 13.16 MB / 0.8073 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.0003327/0.8052, allocations: 163.5 kB / 1.028 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01318/0.8184, allocations: 6.454 MB / 1.034 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8184, allocations: 4 kB / 1.034 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009386/0.8278, allocations: 3.919 MB / 1.038 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.8311, allocations: 1.039 MB / 1.039 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.8419, allocations: 6.986 MB / 1.046 GB, free: 10.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.8436, allocations: 1.683 MB / 1.048 GB, free: 8.727 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/0.8445, allocations: 187.4 kB / 1.048 GB, free: 8.543 MB / 0.823 GB Notification: Performance of SimCode: time 2.364e-06/0.8445, allocations: 0 / 1.048 GB, free: 8.543 MB / 0.823 GB Notification: Performance of Templates: time 0.07693/0.9214, allocations: 79.68 MB / 1.126 GB, free: 9.152 MB / 0.9011 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.110432975925505] Failed to read output from testmodel.py, exit status != 0: 0.9288718057796359 0.937347898 0.36953240000000004 Calling exit ...