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.0008646/0.0008646, 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.0008465/0.0008465, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9912/0.9912, allocations: 230.6 MB / 256 MB, free: 9.602 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.8034/0.8034, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0008932/0.0008932, allocations: 73.08 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5271, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01836/0.5455, allocations: 21.26 MB / 0.8386 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.5656, allocations: 16.85 MB / 0.855 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.5678, allocations: 151.2 kB / 0.8552 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005363/0.5732, allocations: 4.166 MB / 0.8593 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007703/0.5809, allocations: 3.585 MB / 0.8628 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.5833, allocations: 1.321 MB / 0.864 GB, free: 404 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005509/0.5888, allocations: 5.811 MB / 0.8697 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.5913, allocations: 2.832 MB / 0.8725 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.5944, allocations: 2.616 MB / 0.875 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.5969, allocations: 2.252 MB / 0.8772 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005087/0.5975, allocations: 371.1 kB / 0.8776 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.5989, allocations: 0.9611 MB / 0.8785 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007055/0.5996, allocations: 1.215 MB / 0.8797 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.601, allocations: 1.649 MB / 0.8813 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.6041, allocations: 5.222 MB / 0.8864 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.6041, allocations: 0 / 0.8864 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6041, allocations: 0 / 0.8864 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.6042, allocations: 0 / 0.8864 GB, free: 15.22 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.005151/0.6093, allocations: 4.666 MB / 0.891 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6093, allocations: 12.03 kB / 0.891 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.6097, allocations: 366.3 kB / 0.8913 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007903/0.6176, allocations: 3.283 MB / 0.8946 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.6199, allocations: 2.128 MB / 0.8966 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.6201, allocations: 474 kB / 0.8971 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.6204, allocations: 228 kB / 0.8973 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/0.6266, allocations: 5.884 MB / 0.903 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.6266, allocations: 3.938 kB / 0.903 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.6268, allocations: 108 kB / 0.9032 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.627, allocations: 176.8 kB / 0.9033 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007351/0.6343, allocations: 5.191 MB / 0.9084 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.6448, allocations: 9.178 MB / 0.9174 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/0.6498, allocations: 3.249 MB / 0.9205 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.6518, allocations: 1.377 MB / 0.9219 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.6519, allocations: 17.31 kB / 0.9219 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002721/0.6546, allocations: 2.454 MB / 0.9243 GB, free: 7.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 2.595e-06/0.6546, allocations: 0 / 0.9243 GB, free: 7.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.06493/0.7195, allocations: 27.54 MB / 0.9512 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.7197, allocations: 0.4928 MB / 0.9517 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.7222, allocations: 2.304 MB / 0.9539 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/0.7225, allocations: 77.69 kB / 0.954 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009981/0.7235, allocations: 1.46 MB / 0.9554 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/0.7242, allocations: 0.8636 MB / 0.9563 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007608/0.725, allocations: 416.5 kB / 0.9566 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.7251, allocations: 301.1 kB / 0.9569 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00298/0.728, allocations: 2.066 MB / 0.959 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/0.7313, allocations: 2.768 MB / 0.9617 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005905/0.7372, allocations: 4.165 MB / 0.9657 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.7372, allocations: 8 kB / 0.9657 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01054/0.7478, allocations: 6.619 MB / 0.9722 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.982e-05/0.7478, allocations: 152.5 kB / 0.9723 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.7479, allocations: 8.344 kB / 0.9723 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/0.7537, allocations: 2.916 MB / 0.9752 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.7553, allocations: 495.2 kB / 0.9757 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/0.7807, allocations: 18.28 MB / 0.9935 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.7837, allocations: 327.6 kB / 0.9938 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/0.7841, allocations: 87.97 kB / 0.9939 GB, free: 15.14 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.00152/0.7856, allocations: 0.7141 MB / 0.9946 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/0.7863, allocations: 345.9 kB / 0.9949 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.7868, allocations: 384.1 kB / 0.9953 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.7868, allocations: 27.98 kB / 0.9953 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/0.7869, allocations: 8 kB / 0.9953 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7869, allocations: 11.95 kB / 0.9954 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.7907, allocations: 3.046 MB / 0.9983 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.7908, allocations: 3.938 kB / 0.9983 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.7921, allocations: 415.4 kB / 0.9987 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005528/0.7976, allocations: 2.863 MB / 1.002 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.7979, allocations: 51.97 kB / 1.002 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/0.8228, allocations: 18.06 MB / 1.019 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8228, allocations: 0 / 1.019 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.8353, allocations: 6.112 MB / 1.025 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/0.8372, allocations: 0.6382 MB / 1.026 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/0.8378, allocations: 47.94 kB / 1.026 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.8396, allocations: 320.1 kB / 1.026 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009743/0.8406, allocations: 362.5 kB / 1.027 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.8407, allocations: 71.97 kB / 1.027 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002167/0.8429, allocations: 1.532 MB / 1.028 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8429, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004006/0.8469, allocations: 1.043 MB / 1.029 GB, free: 10.77 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.01198/0.8588, allocations: 6.748 MB / 1.036 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01418/0.873, allocations: 6.446 MB / 1.042 GB, free: 13.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.873, allocations: 0 / 1.042 GB, free: 13.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009557/0.8826, allocations: 3.935 MB / 1.046 GB, free: 9.445 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/0.8875, allocations: 1.13 MB / 1.047 GB, free: 8.367 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/0.9413, allocations: 32.38 MB / 1.079 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.9431, allocations: 1.688 MB / 1.08 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001933/0.9451, allocations: 0.5019 MB / 1.081 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.9465, allocations: 1.339 MB / 1.082 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of SimCode: time 2.875e-06/0.9465, allocations: 4 kB / 1.082 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5104/1.457, allocations: 107.1 MB / 1.187 GB, free: 282.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.82, allocations: 4.422 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.91351492330432] Failed to read output from testmodel.py, exit status != 0: 11.9536814969033 11.962688407 11.35584592 Calling exit ...