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.0007203/0.0007203, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007561/0.0007561, allocations: 207.8 kB / 23 MB, free: 3.121 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.8746/0.8746, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7447/0.7447, allocations: 203.8 MB / 0.5049 GB, free: 0.6328 MB / 410.7 MB " [Timeout remaining time 179] 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: 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.0009009/0.0009009, allocations: 63.91 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4152, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01497/0.4301, allocations: 23.5 MB / 0.8421 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.4466, allocations: 18.18 MB / 0.8598 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.4488, allocations: 146.8 kB / 0.8599 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.4539, allocations: 4.353 MB / 0.8642 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007556/0.4615, allocations: 3.596 MB / 0.8677 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.4641, allocations: 1.331 MB / 0.869 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005641/0.4697, allocations: 5.808 MB / 0.8747 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.4724, allocations: 2.872 MB / 0.8775 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.4762, allocations: 2.528 MB / 0.88 GB, free: 124 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.48, allocations: 2.507 MB / 0.8824 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006691/0.4807, allocations: 374.8 kB / 0.8828 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.4826, allocations: 1.062 MB / 0.8838 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.4835, allocations: 1.221 MB / 0.885 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.4853, allocations: 1.998 MB / 0.8869 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.4901, allocations: 5.202 MB / 0.892 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4901, allocations: 1.344 kB / 0.892 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4901, allocations: 0 / 0.892 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001358/0.4903, allocations: 0 / 0.892 GB, free: 8.242 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.006241/0.4965, allocations: 4.667 MB / 0.8966 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4966, allocations: 9.469 kB / 0.8966 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007312/0.5039, allocations: 3.283 MB / 0.8998 GB, free: 280 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.5066, allocations: 2.131 MB / 0.9019 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.5069, allocations: 462.3 kB / 0.9023 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.5072, allocations: 243.9 kB / 0.9026 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007031/0.5142, allocations: 4.818 MB / 0.9073 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.5142, allocations: 0 / 0.9073 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.5145, allocations: 104 kB / 0.9074 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.5146, allocations: 176.7 kB / 0.9075 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/0.5218, allocations: 5.191 MB / 0.9126 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.5353, allocations: 14.36 MB / 0.9266 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/0.5403, allocations: 3.267 MB / 0.9298 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.5422, allocations: 1.381 MB / 0.9312 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.429e-05/0.5423, allocations: 21.3 kB / 0.9312 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/0.5446, allocations: 1.794 MB / 0.9329 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 2.675e-06/0.5446, allocations: 0 / 0.9329 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.05985/0.6045, allocations: 27.53 MB / 0.9598 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.6046, allocations: 0.4889 MB / 0.9603 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.6071, allocations: 2.304 MB / 0.9625 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.6074, allocations: 77.7 kB / 0.9626 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.6084, allocations: 1.452 MB / 0.964 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.6091, allocations: 0.8598 MB / 0.9649 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/0.6096, allocations: 420.5 kB / 0.9653 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.6097, allocations: 305.1 kB / 0.9656 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.6126, allocations: 1.933 MB / 0.9675 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/0.6156, allocations: 2.231 MB / 0.9696 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006068/0.6217, allocations: 4.158 MB / 0.9737 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6217, allocations: 0 / 0.9737 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01048/0.6322, allocations: 6.482 MB / 0.98 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/0.6323, allocations: 148.5 kB / 0.9802 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6323, allocations: 4 kB / 0.9802 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/0.6375, allocations: 2.929 MB / 0.983 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.639, allocations: 487.2 kB / 0.9835 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.6617, allocations: 18.65 MB / 1.002 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.6642, allocations: 327.6 kB / 1.002 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.6644, allocations: 83.98 kB / 1.002 GB, free: 5.195 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.001253/0.6657, allocations: 0.719 MB / 1.003 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.6661, allocations: 345.8 kB / 1.003 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.6665, allocations: 388.1 kB / 1.004 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6665, allocations: 24 kB / 1.004 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.711e-05/0.6666, allocations: 8 kB / 1.004 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6666, allocations: 11.95 kB / 1.004 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.6699, allocations: 3.604 MB / 1.007 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.6699, allocations: 0 / 1.007 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.671, allocations: 415.4 kB / 1.007 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004977/0.676, allocations: 2.863 MB / 1.01 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.6762, allocations: 55.91 kB / 1.01 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.6982, allocations: 18.43 MB / 1.028 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6982, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009865/0.7081, allocations: 6.112 MB / 1.034 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.7096, allocations: 0.6342 MB / 1.035 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.71, allocations: 55.92 kB / 1.035 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.7115, allocations: 316.1 kB / 1.035 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008274/0.7123, allocations: 362.5 kB / 1.036 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.7124, allocations: 67.97 kB / 1.036 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001561/0.714, allocations: 1.536 MB / 1.037 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.51e-07/0.714, allocations: 0 / 1.037 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002208/0.7162, allocations: 1.047 MB / 1.038 GB, free: 15.89 MB / 0.823 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.0002893/0.7165, allocations: 169.2 kB / 1.038 GB, free: 15.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01156/0.7281, allocations: 6.312 MB / 1.045 GB, free: 9.316 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7281, allocations: 0.75 kB / 1.045 GB, free: 9.316 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008417/0.7365, allocations: 3.923 MB / 1.048 GB, free: 5.363 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.7397, allocations: 1.137 MB / 1.049 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7502, allocations: 7.004 MB / 1.056 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.7517, allocations: 2.234 MB / 1.058 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/0.7526, allocations: 207.4 kB / 1.059 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of SimCode: time 1.533e-06/0.7526, allocations: 0 / 1.059 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.3743/1.127, allocations: 80.25 MB / 1.137 GB, free: 254.3 MB / 0.8855 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: 13.813716759905219] Failed to read output from testmodel.py, exit status != 0: 1.1324922719504684 1.139689905 0.6478686539999999 Calling exit ...