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.001024/0.001024, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001393/0.001393, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.933/0.933, allocations: 230.6 MB / 256 MB, free: 9.578 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.7677/0.7677, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001324/0.001324, allocations: 65.84 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5128, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01961/0.5325, allocations: 21.26 MB / 0.8386 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.5552, allocations: 16.85 MB / 0.855 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.5581, allocations: 150.1 kB / 0.8552 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.5636, allocations: 4.157 MB / 0.8593 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.5755, allocations: 3.594 MB / 0.8628 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.5789, allocations: 1.321 MB / 0.8641 GB, free: 400 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007878/0.5868, allocations: 5.804 MB / 0.8697 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004923/0.5917, allocations: 2.836 MB / 0.8725 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.5981, allocations: 2.623 MB / 0.875 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/0.6032, allocations: 2.248 MB / 0.8772 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.6045, allocations: 370.3 kB / 0.8776 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.6071, allocations: 0.9554 MB / 0.8785 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.6082, allocations: 1.226 MB / 0.8797 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003189/0.6114, allocations: 1.641 MB / 0.8813 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006489/0.6179, allocations: 5.226 MB / 0.8864 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.6179, allocations: 0 / 0.8864 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6179, allocations: 0 / 0.8864 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002181/0.6181, allocations: 0 / 0.8864 GB, free: 15.17 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.008917/0.627, allocations: 4.662 MB / 0.891 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.6271, allocations: 12.02 kB / 0.891 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004338/0.6275, allocations: 362.3 kB / 0.8913 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.6358, allocations: 3.279 MB / 0.8945 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.6396, allocations: 2.131 MB / 0.8966 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.6399, allocations: 466 kB / 0.8971 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/0.6405, allocations: 240 kB / 0.8973 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007134/0.6476, allocations: 5.876 MB / 0.903 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.6476, allocations: 7.938 kB / 0.903 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.6478, allocations: 104 kB / 0.9031 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.648, allocations: 176.8 kB / 0.9033 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007935/0.6559, allocations: 5.191 MB / 0.9084 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.6705, allocations: 9.182 MB / 0.9173 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005548/0.676, allocations: 3.255 MB / 0.9205 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.6781, allocations: 1.366 MB / 0.9219 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.311e-05/0.6782, allocations: 29.23 kB / 0.9219 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002631/0.6808, allocations: 2.45 MB / 0.9243 GB, free: 7.367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 4.068e-06/0.6808, allocations: 0 / 0.9243 GB, free: 7.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.0649/0.7457, allocations: 27.53 MB / 0.9512 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.7459, allocations: 0.4928 MB / 0.9517 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.7486, allocations: 2.308 MB / 0.9539 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.7489, allocations: 77.7 kB / 0.954 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/0.7499, allocations: 1.456 MB / 0.9554 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.7506, allocations: 0.8637 MB / 0.9562 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.7512, allocations: 416.5 kB / 0.9566 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.7513, allocations: 305.1 kB / 0.9569 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.7544, allocations: 2.066 MB / 0.9589 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.7577, allocations: 2.774 MB / 0.9617 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/0.7637, allocations: 4.165 MB / 0.9657 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.7638, allocations: 0 / 0.9657 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01076/0.7745, allocations: 6.627 MB / 0.9722 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/0.7746, allocations: 148.5 kB / 0.9723 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.7746, allocations: 4 kB / 0.9723 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/0.7801, allocations: 2.925 MB / 0.9752 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.7816, allocations: 487.2 kB / 0.9757 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.8054, allocations: 18.29 MB / 0.9935 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.8082, allocations: 319.6 kB / 0.9938 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.8084, allocations: 91.97 kB / 0.9939 GB, free: 15.09 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.001399/0.8098, allocations: 0.7102 MB / 0.9946 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/0.8103, allocations: 341.9 kB / 0.9949 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.8107, allocations: 388.1 kB / 0.9953 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.8107, allocations: 31.94 kB / 0.9953 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-05/0.8108, allocations: 12 kB / 0.9954 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.8108, allocations: 11.95 kB / 0.9954 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.8142, allocations: 3.042 MB / 0.9983 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.8142, allocations: 0 / 0.9983 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.8154, allocations: 419.4 kB / 0.9987 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.8208, allocations: 2.855 MB / 1.002 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/0.821, allocations: 55.95 kB / 1.002 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0236/0.8446, allocations: 18.05 MB / 1.019 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8446, allocations: 0 / 1.019 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.8553, allocations: 6.124 MB / 1.025 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.857, allocations: 0.6304 MB / 1.026 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/0.8574, allocations: 51.94 kB / 1.026 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.8593, allocations: 319.5 kB / 1.026 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009581/0.8603, allocations: 362.5 kB / 1.027 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8605, allocations: 75.97 kB / 1.027 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001869/0.8623, allocations: 1.532 MB / 1.028 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8623, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002987/0.8653, allocations: 1.043 MB / 1.029 GB, free: 10.73 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.01113/0.8764, allocations: 6.749 MB / 1.036 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01394/0.8904, allocations: 6.446 MB / 1.042 GB, free: 13.37 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.8904, allocations: 4 kB / 1.042 GB, free: 13.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00964/0.9, allocations: 3.931 MB / 1.046 GB, free: 9.406 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.904, allocations: 1.133 MB / 1.047 GB, free: 8.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04942/0.9534, allocations: 32.38 MB / 1.079 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.955, allocations: 1.696 MB / 1.08 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001926/0.9569, allocations: 0.4941 MB / 1.081 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.9584, allocations: 1.335 MB / 1.082 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of SimCode: time 2.645e-06/0.9584, allocations: 0 / 1.082 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4737/1.432, allocations: 107.1 MB / 1.187 GB, free: 282.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.84, allocations: 10.98 kB / 1.187 GB, free: 282.4 MB / 0.9167 GB " [Timeout remaining time 648] (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: 14.862723310943693] Failed to read output from testmodel.py, exit status != 0: 11.977515283972025 11.982939168 11.363435007 Calling exit ...