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.001135/0.001135, allocations: 84.44 kB / 19.91 MB, free: 4 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.001199/0.001199, allocations: 169.2 kB / 23.19 MB, free: 1.375 MB / 18.57 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.8971/0.8971, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.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.741/0.741, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009323/0.0009323, allocations: 63.89 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4672, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01614/0.4833, allocations: 21.03 MB / 0.7397 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.5033, allocations: 16.74 MB / 0.756 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.5073, allocations: 151 kB / 0.7562 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007121/0.5144, allocations: 4.181 MB / 0.7602 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.5256, allocations: 3.608 MB / 0.7638 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.5298, allocations: 1.323 MB / 0.7651 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009477/0.5393, allocations: 5.808 MB / 0.7707 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/0.5435, allocations: 2.834 MB / 0.7735 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.5498, allocations: 3.579 MB / 0.777 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.5541, allocations: 2.252 MB / 0.7792 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.5552, allocations: 367.3 kB / 0.7795 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.5579, allocations: 0.9656 MB / 0.7805 GB, free: 456 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5589, allocations: 1.212 MB / 0.7817 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003128/0.5621, allocations: 1.65 MB / 0.7833 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.5692, allocations: 5.497 MB / 0.7887 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5692, allocations: 2 kB / 0.7887 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5692, allocations: 0 / 0.7887 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002051/0.5695, allocations: 0 / 0.7887 GB, free: 10.66 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.008421/0.5779, allocations: 4.665 MB / 0.7932 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5779, allocations: 12.03 kB / 0.7932 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008077/0.586, allocations: 3.283 MB / 0.7964 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.5901, allocations: 2.131 MB / 0.7985 GB, free: 460 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.5904, allocations: 462.4 kB / 0.799 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.5907, allocations: 243.8 kB / 0.7992 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/0.5975, allocations: 5.872 MB / 0.8049 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.5976, allocations: 0 / 0.8049 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.5978, allocations: 112 kB / 0.805 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.5979, allocations: 172.8 kB / 0.8052 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007318/0.6053, allocations: 5.191 MB / 0.8103 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.6168, allocations: 8.767 MB / 0.8188 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004929/0.6217, allocations: 3.243 MB / 0.822 GB, free: 7.789 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.6238, allocations: 1.378 MB / 0.8233 GB, free: 6.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-05/0.6239, allocations: 21.31 kB / 0.8234 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002459/0.6263, allocations: 2.467 MB / 0.8258 GB, free: 3.699 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 3.947e-06/0.6263, allocations: 0 / 0.8258 GB, free: 3.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.06041/0.6868, allocations: 27.49 MB / 0.8526 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.6869, allocations: 0.4966 MB / 0.8531 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.689, allocations: 1.998 MB / 0.855 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.6893, allocations: 77.7 kB / 0.8551 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009411/0.6902, allocations: 1.469 MB / 0.8566 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.6908, allocations: 0.8598 MB / 0.8574 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.6913, allocations: 416.5 kB / 0.8578 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000277/0.6916, allocations: 301.1 kB / 0.8581 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.6945, allocations: 2.066 MB / 0.8601 GB, free: 304 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.6975, allocations: 2.777 MB / 0.8628 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005788/0.7033, allocations: 4.161 MB / 0.8669 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.7033, allocations: 4 kB / 0.8669 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01023/0.7136, allocations: 6.604 MB / 0.8733 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.7136, allocations: 146.1 kB / 0.8735 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7136, allocations: 12 kB / 0.8735 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005041/0.7187, allocations: 2.921 MB / 0.8763 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.72, allocations: 487.2 kB / 0.8768 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.7422, allocations: 18.19 MB / 0.8946 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.7446, allocations: 319.6 kB / 0.8949 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.7448, allocations: 87.97 kB / 0.8949 GB, free: 11.94 MB / 0.7761 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.001314/0.7461, allocations: 0.705 MB / 0.8956 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.7465, allocations: 325.9 kB / 0.8959 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.7468, allocations: 365.2 kB / 0.8963 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.7468, allocations: 12.14 kB / 0.8963 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7468, allocations: 0 / 0.8963 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009236/0.7478, allocations: 0.607 MB / 0.8969 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.748, allocations: 51.98 kB / 0.897 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.7494, allocations: 319.6 kB / 0.8973 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008246/0.7502, allocations: 425.1 kB / 0.8977 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01042/0.7607, allocations: 6.14 MB / 0.9037 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009698/0.7704, allocations: 6.505 MB / 0.91 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003038/0.7734, allocations: 2.088 MB / 0.912 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001711/0.7751, allocations: 1.316 MB / 0.9133 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of Backend: time 9.11e-07/0.7751, allocations: 0 / 0.9133 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01197/0.7871, allocations: 5.106 MB / 0.9183 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01133/0.7984, allocations: 7.578 MB / 0.9257 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.08464/0.8831, allocations: 79.71 MB / 1.004 GB, free: 13.5 MB / 0.8855 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: 6.141159436898306] Failed to read output from testmodel.py, exit status != 0: 0.8891990729607642 1.207954009 0.32715901899999994 Calling exit ...