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.001306/0.001306, allocations: 109.9 kB / 17.13 MB, free: 5.914 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.001284/0.001284, allocations: 191.8 kB / 20.08 MB, free: 2.977 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.422/1.422, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.091/1.091, allocations: 177.8 MB / 481.2 MB, free: 1.457 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.001963/0.001963, allocations: 64.94 kB / 0.6695 GB, free: 9.125 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2123, allocations: 95.09 MB / 0.7623 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02978/0.2421, allocations: 22.92 MB / 0.7847 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03062/0.2727, allocations: 17.8 MB / 0.8021 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005277/0.278, allocations: 115.4 kB / 0.8022 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.2902, allocations: 4.208 MB / 0.8063 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.3052, allocations: 3.575 MB / 0.8098 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.31, allocations: 1.318 MB / 0.8111 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.3208, allocations: 5.781 MB / 0.8168 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005341/0.3261, allocations: 2.804 MB / 0.8195 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/0.3317, allocations: 2.48 MB / 0.8219 GB, free: 416 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005982/0.3376, allocations: 2.51 MB / 0.8244 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/0.3392, allocations: 372 kB / 0.8247 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.3426, allocations: 1.057 MB / 0.8258 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.3445, allocations: 1.226 MB / 0.827 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003812/0.3483, allocations: 1.998 MB / 0.8289 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008756/0.3571, allocations: 5.195 MB / 0.834 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3571, allocations: 3.984 kB / 0.834 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3571, allocations: 0 / 0.834 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002327/0.3573, allocations: 0 / 0.834 GB, free: 4.008 MB / 0.6387 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.3725/0.7298, allocations: 4.721 MB / 0.8386 GB, free: 68.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.7299, allocations: 10.25 kB / 0.8386 GB, free: 68.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.7461, allocations: 3.281 MB / 0.8418 GB, free: 68.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/0.7523, allocations: 2.254 MB / 0.844 GB, free: 67.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.7527, allocations: 466.2 kB / 0.8445 GB, free: 67.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009306/0.7536, allocations: 236.2 kB / 0.8447 GB, free: 67.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.7656, allocations: 4.807 MB / 0.8494 GB, free: 65.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/0.7656, allocations: 5.219 kB / 0.8494 GB, free: 65.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.7659, allocations: 106.1 kB / 0.8495 GB, free: 65.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.7661, allocations: 182.5 kB / 0.8497 GB, free: 65.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.7792, allocations: 5.187 MB / 0.8547 GB, free: 63.6 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.7996, allocations: 14.42 MB / 0.8688 GB, free: 51.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008426/0.808, allocations: 3.26 MB / 0.872 GB, free: 50.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/0.811, allocations: 1.366 MB / 0.8733 GB, free: 49.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.8112, allocations: 28.78 kB / 0.8733 GB, free: 49.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003641/0.8148, allocations: 1.793 MB / 0.8751 GB, free: 48.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 3.677e-06/0.8148, allocations: 0 / 0.8751 GB, free: 48.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1045/0.9193, allocations: 28.22 MB / 0.9027 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.9194, allocations: 0.4889 MB / 0.9031 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.9218, allocations: 2.3 MB / 0.9054 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.9221, allocations: 77.7 kB / 0.9055 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.9229, allocations: 1.452 MB / 0.9069 GB, free: 20.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.9234, allocations: 0.866 MB / 0.9077 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006864/0.9241, allocations: 420.5 kB / 0.9081 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.9242, allocations: 309 kB / 0.9084 GB, free: 19.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/0.9283, allocations: 1.929 MB / 0.9103 GB, free: 17.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.9325, allocations: 2.231 MB / 0.9125 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008083/0.9406, allocations: 4.159 MB / 0.9165 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.9406, allocations: 0 / 0.9165 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01483/0.9554, allocations: 6.478 MB / 0.9229 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.9555, allocations: 148.5 kB / 0.923 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.9555, allocations: 4 kB / 0.923 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008241/0.9638, allocations: 2.931 MB / 0.9259 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.9663, allocations: 491.2 kB / 0.9263 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03932/1.006, allocations: 18.87 MB / 0.9448 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/1.01, allocations: 323.6 kB / 0.9451 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.01, allocations: 91.91 kB / 0.9452 GB, free: 13.16 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.001524/1.011, allocations: 0.7027 MB / 0.9458 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/1.012, allocations: 357.8 kB / 0.9462 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/1.013, allocations: 384.1 kB / 0.9466 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.013, allocations: 27.94 kB / 0.9466 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-05/1.013, allocations: 8 kB / 0.9466 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.013, allocations: 11.95 kB / 0.9466 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/1.018, allocations: 3.613 MB / 0.9501 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/1.018, allocations: 3.938 kB / 0.9501 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.02, allocations: 415.4 kB / 0.9505 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009987/1.03, allocations: 2.876 MB / 0.9533 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005556/1.031, allocations: 47.97 kB / 0.9534 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0417/1.073, allocations: 18.63 MB / 0.9716 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.073, allocations: 7.938 kB / 0.9716 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.092, allocations: 6.107 MB / 0.9776 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/1.094, allocations: 0.7134 MB / 0.9782 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000641/1.095, allocations: 48 kB / 0.9783 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/1.098, allocations: 315.6 kB / 0.9786 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/1.1, allocations: 358.7 kB / 0.9789 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.1, allocations: 68.84 kB / 0.979 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002409/1.102, allocations: 1.532 MB / 0.9805 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 0 / 0.9805 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003087/1.105, allocations: 1.047 MB / 0.9815 GB, free: 7.559 MB / 0.7012 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.0003853/1.106, allocations: 163 kB / 0.9817 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02295/1.129, allocations: 6.319 MB / 0.9878 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.129, allocations: 0 / 0.9878 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/1.146, allocations: 3.925 MB / 0.9917 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/1.15, allocations: 1.133 MB / 0.9928 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.166, allocations: 6.991 MB / 0.9996 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/1.168, allocations: 2.235 MB / 1.002 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.17, allocations: 199.4 kB / 1.002 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 1.773e-06/1.17, allocations: 4 kB / 1.002 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of Templates: time 0.1141/1.284, allocations: 80.36 MB / 1.08 GB, free: 2.426 MB / 0.795 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.316571926989127] Failed to read output from testmodel.py, exit status != 0: 1.2930528090219013 1.307085157 0.9467675550000001 Calling exit ...