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.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.00141/0.00141, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001436/0.001436, allocations: 166.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.217/1.217, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 2.134e-06/2.134e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.361e-05, allocations: 4.906 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02771/0.02774, allocations: 20.92 MB / 0.639 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02957/0.05731, allocations: 16.67 MB / 0.6552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/0.06156, allocations: 146.9 kB / 0.6554 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.07398, allocations: 4.177 MB / 0.6595 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.08645, allocations: 3.696 MB / 0.6631 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.09045, allocations: 1.33 MB / 0.6644 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009765/0.1002, allocations: 5.977 MB / 0.6702 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004983/0.1052, allocations: 2.845 MB / 0.673 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007625/0.1128, allocations: 3.484 MB / 0.6764 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005081/0.1179, allocations: 2.026 MB / 0.6784 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.1189, allocations: 368 kB / 0.6787 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.1216, allocations: 0.9667 MB / 0.6797 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1231, allocations: 1.273 MB / 0.6809 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.1258, allocations: 1.379 MB / 0.6823 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.134, allocations: 5.23 MB / 0.6874 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.134, allocations: 0 / 0.6874 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.134, allocations: 0 / 0.6874 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001897/0.1342, allocations: 0 / 0.6874 GB, free: 13.89 MB / 0.6075 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.01169/0.1459, allocations: 4.619 MB / 0.6919 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1459, allocations: 13.47 kB / 0.6919 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.1634, allocations: 3.287 MB / 0.6951 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.1684, allocations: 2.131 MB / 0.6972 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/0.1688, allocations: 466.3 kB / 0.6976 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005669/0.1694, allocations: 228.4 kB / 0.6978 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3208/0.4902, allocations: 5.878 MB / 0.7036 GB, free: 81.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.4902, allocations: 0.875 kB / 0.7036 GB, free: 81.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.4905, allocations: 102 kB / 0.7037 GB, free: 81.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.4908, allocations: 175.7 kB / 0.7038 GB, free: 81.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.5056, allocations: 5.194 MB / 0.7089 GB, free: 80.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.5258, allocations: 8.768 MB / 0.7175 GB, free: 76.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.5366, allocations: 3.255 MB / 0.7207 GB, free: 75.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.5404, allocations: 1.377 MB / 0.722 GB, free: 74.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.5406, allocations: 17.34 kB / 0.722 GB, free: 74.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004367/0.545, allocations: 2.452 MB / 0.7244 GB, free: 73.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 4.027e-06/0.545, allocations: 0 / 0.7244 GB, free: 73.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.126/0.671, allocations: 27.51 MB / 0.7513 GB, free: 57.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6711, allocations: 0.4928 MB / 0.7518 GB, free: 56.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.6734, allocations: 1.998 MB / 0.7537 GB, free: 54.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.6737, allocations: 77.7 kB / 0.7538 GB, free: 54.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009771/0.6747, allocations: 1.465 MB / 0.7552 GB, free: 53.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/0.6753, allocations: 0.8543 MB / 0.7561 GB, free: 52.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00075/0.6761, allocations: 420.5 kB / 0.7565 GB, free: 51.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.6761, allocations: 305.1 kB / 0.7567 GB, free: 51.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/0.6808, allocations: 2.062 MB / 0.7588 GB, free: 49.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/0.6859, allocations: 2.771 MB / 0.7615 GB, free: 46.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009841/0.6957, allocations: 4.169 MB / 0.7655 GB, free: 42.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6958, allocations: 4 kB / 0.7655 GB, free: 42.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01782/0.7136, allocations: 6.59 MB / 0.772 GB, free: 35.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.7137, allocations: 150.8 kB / 0.7721 GB, free: 35.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.7137, allocations: 8 kB / 0.7721 GB, free: 35.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009285/0.723, allocations: 2.918 MB / 0.775 GB, free: 32.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.7258, allocations: 487.2 kB / 0.7754 GB, free: 31.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03327/0.7591, allocations: 18.2 MB / 0.7932 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.7631, allocations: 331.2 kB / 0.7935 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/0.7634, allocations: 87.97 kB / 0.7936 GB, free: 13.05 MB / 0.6075 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.001324/0.7647, allocations: 0.7034 MB / 0.7943 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.7652, allocations: 322 kB / 0.7946 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.7658, allocations: 357.4 kB / 0.7949 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.7658, allocations: 24 kB / 0.795 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/0.7658, allocations: 11.94 kB / 0.795 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.7658, allocations: 11.95 kB / 0.795 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.7694, allocations: 2.73 MB / 0.7977 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.7694, allocations: 0 / 0.7977 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/0.7718, allocations: 423.3 kB / 0.7981 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008651/0.7805, allocations: 2.863 MB / 0.8009 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003949/0.7809, allocations: 51.91 kB / 0.8009 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04113/0.822, allocations: 17.97 MB / 0.8185 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.822, allocations: 0 / 0.8185 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/0.8425, allocations: 6.084 MB / 0.8244 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/0.8448, allocations: 0.6032 MB / 0.825 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007582/0.8455, allocations: 44 kB / 0.825 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003616/0.8491, allocations: 315.6 kB / 0.8253 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/0.8506, allocations: 366.5 kB / 0.8257 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/0.8509, allocations: 71.95 kB / 0.8257 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002588/0.8535, allocations: 1.316 MB / 0.827 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.8535, allocations: 0 / 0.827 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003694/0.8572, allocations: 1.039 MB / 0.828 GB, free: 9.508 MB / 0.6387 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.0004802/0.8577, allocations: 159.1 kB / 0.8282 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02547/0.8831, allocations: 6.45 MB / 0.8345 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/0.8832, allocations: 7.938 kB / 0.8345 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01923/0.9024, allocations: 3.916 MB / 0.8383 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/0.908, allocations: 1.041 MB / 0.8393 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.9258, allocations: 6.758 MB / 0.8459 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/0.9283, allocations: 1.679 MB / 0.8476 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002429/0.9307, allocations: 487.4 kB / 0.848 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/0.9315, allocations: 172.5 kB / 0.8482 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/0.9315, allocations: 0 / 0.8482 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of Templates: time 0.1299/1.061, allocations: 72.58 MB / 0.9191 GB, free: 13.32 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: 9.293420057743788] Failed to read output from testmodel.py, exit status != 0: 1.072559006512165 1.088711253 0.951142604 Calling exit ...