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.0007996/0.0007996, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009749/0.0009749, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.027/1.027, allocations: 230.6 MB / 256 MB, free: 9.812 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.7958/0.7958, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [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.0009433/0.0009433, allocations: 62.97 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5253, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02136/0.5466, allocations: 23.49 MB / 0.8408 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.5694, allocations: 18.18 MB / 0.8586 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.5732, allocations: 150.6 kB / 0.8587 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006738/0.58, allocations: 4.356 MB / 0.863 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.5906, allocations: 3.591 MB / 0.8665 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.5948, allocations: 1.336 MB / 0.8678 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.605, allocations: 5.794 MB / 0.8735 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005016/0.61, allocations: 2.879 MB / 0.8763 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005672/0.6157, allocations: 2.526 MB / 0.8787 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006119/0.6218, allocations: 2.508 MB / 0.8812 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.6236, allocations: 369.1 kB / 0.8815 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.6272, allocations: 1.067 MB / 0.8826 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.6288, allocations: 1.222 MB / 0.8838 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.6326, allocations: 2.002 MB / 0.8857 GB, free: 388 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007187/0.6398, allocations: 5.191 MB / 0.8908 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6398, allocations: 3.938 kB / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6398, allocations: 0 / 0.8908 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000165/0.6399, allocations: 3.938 kB / 0.8908 GB, free: 11.16 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.008438/0.6484, allocations: 4.666 MB / 0.8954 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.6484, allocations: 8.031 kB / 0.8954 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000423/0.6488, allocations: 366.3 kB / 0.8957 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/0.6569, allocations: 3.283 MB / 0.8989 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.6609, allocations: 2.128 MB / 0.901 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/0.6615, allocations: 474 kB / 0.9015 GB, free: 4 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007336/0.6623, allocations: 228 kB / 0.9017 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007216/0.6695, allocations: 4.818 MB / 0.9064 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6695, allocations: 7.875 kB / 0.9064 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.6697, allocations: 108 kB / 0.9065 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.6699, allocations: 172.8 kB / 0.9066 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008171/0.6781, allocations: 5.195 MB / 0.9117 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.6942, allocations: 14.36 MB / 0.9257 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005642/0.6999, allocations: 3.262 MB / 0.9289 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.7019, allocations: 1.369 MB / 0.9303 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.702, allocations: 29.28 kB / 0.9303 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/0.7045, allocations: 1.8 MB / 0.9321 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 4.028e-06/0.7045, allocations: 0 / 0.9321 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.06377/0.7683, allocations: 27.54 MB / 0.9589 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/0.7685, allocations: 0.4967 MB / 0.9594 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.7713, allocations: 2.293 MB / 0.9617 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.7717, allocations: 73.7 kB / 0.9617 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.7728, allocations: 1.456 MB / 0.9632 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.7742, allocations: 0.8637 MB / 0.964 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006142/0.7748, allocations: 416.5 kB / 0.9644 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.7749, allocations: 309.1 kB / 0.9647 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/0.7782, allocations: 1.929 MB / 0.9666 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/0.7814, allocations: 2.23 MB / 0.9688 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006419/0.7878, allocations: 4.161 MB / 0.9728 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.7879, allocations: 0 / 0.9728 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01094/0.7988, allocations: 6.478 MB / 0.9792 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.7989, allocations: 148.5 kB / 0.9793 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.7989, allocations: 4 kB / 0.9793 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/0.8043, allocations: 2.932 MB / 0.9822 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.8058, allocations: 483.2 kB / 0.9826 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02558/0.8314, allocations: 18.65 MB / 1.001 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.8341, allocations: 323.6 kB / 1.001 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.8343, allocations: 87.97 kB / 1.001 GB, free: 7.637 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.001432/0.8357, allocations: 0.7141 MB / 1.002 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/0.8362, allocations: 345.9 kB / 1.002 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.8366, allocations: 388.1 kB / 1.003 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.8366, allocations: 24 kB / 1.003 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-05/0.8367, allocations: 12 kB / 1.003 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.8367, allocations: 11.95 kB / 1.003 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.8407, allocations: 3.604 MB / 1.006 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.8407, allocations: 3.984 kB / 1.006 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.8419, allocations: 415.3 kB / 1.007 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/0.8471, allocations: 2.871 MB / 1.009 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.8474, allocations: 51.97 kB / 1.009 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/0.8715, allocations: 18.41 MB / 1.027 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8715, allocations: 7.984 kB / 1.027 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.8832, allocations: 6.104 MB / 1.033 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/0.8851, allocations: 0.6381 MB / 1.034 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.8854, allocations: 51.92 kB / 1.034 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.8874, allocations: 311.6 kB / 1.034 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/0.8884, allocations: 366.5 kB / 1.035 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.8886, allocations: 67.97 kB / 1.035 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001773/0.8903, allocations: 1.536 MB / 1.036 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8903, allocations: 7.938 kB / 1.036 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002153/0.8925, allocations: 1.039 MB / 1.037 GB, free: 2.34 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.01038/0.9029, allocations: 6.73 MB / 1.044 GB, free: 11.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01289/0.9158, allocations: 6.325 MB / 1.05 GB, free: 5.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.9158, allocations: 4.062 kB / 1.05 GB, free: 5.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009629/0.9254, allocations: 3.934 MB / 1.054 GB, free: 1.184 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.9289, allocations: 1.131 MB / 1.055 GB, free: 112 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05329/0.9822, allocations: 31.83 MB / 1.086 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.9839, allocations: 2.234 MB / 1.088 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001801/0.9857, allocations: 0.5058 MB / 1.089 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.987, allocations: 1.343 MB / 1.09 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/0.987, allocations: 0 / 1.09 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4979/1.485, allocations: 105.8 MB / 1.193 GB, free: 275.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.77, allocations: 15.5 kB / 1.193 GB, free: 275.8 MB / 0.9167 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.987743454053998] Failed to read output from testmodel.py, exit status != 0: 14.902102999854833 14.911281308 14.269885702 Calling exit ...