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.00134/0.00134, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.539 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.156 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/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.094/1.094, allocations: 175.7 MB / 480.2 MB, free: 2.785 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.3 kB / 0.6679 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 94.53 MB / 0.7602 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02751/0.209, allocations: 23.47 MB / 0.7832 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02717/0.2361, allocations: 18.14 MB / 0.8009 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.2389, allocations: 111.4 kB / 0.801 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.25, allocations: 4.319 MB / 0.8052 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.2608, allocations: 3.576 MB / 0.8087 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.2643, allocations: 1.333 MB / 0.81 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009045/0.2733, allocations: 5.781 MB / 0.8156 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.2772, allocations: 2.476 MB / 0.8181 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.2816, allocations: 2.476 MB / 0.8205 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.286, allocations: 2.51 MB / 0.8229 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007262/0.2868, allocations: 368 kB / 0.8233 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.289, allocations: 1.057 MB / 0.8243 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.2902, allocations: 1.226 MB / 0.8255 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.2929, allocations: 1.994 MB / 0.8275 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.2998, allocations: 5.195 MB / 0.8325 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2998, allocations: 4 kB / 0.8325 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2998, allocations: 0 / 0.8325 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001189/0.2999, allocations: 7.984 kB / 0.8325 GB, free: 6.438 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.0105/0.3104, allocations: 4.722 MB / 0.8371 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.3105, allocations: 12.03 kB / 0.8372 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005392/0.311, allocations: 358.3 kB / 0.8375 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4036/0.7146, allocations: 3.276 MB / 0.8407 GB, free: 70.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.7202, allocations: 2.257 MB / 0.8429 GB, free: 69.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.7206, allocations: 465.1 kB / 0.8433 GB, free: 69.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000706/0.7213, allocations: 231.6 kB / 0.8436 GB, free: 69.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.7346, allocations: 4.82 MB / 0.8483 GB, free: 67.94 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.7346, allocations: 0.8125 kB / 0.8483 GB, free: 67.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.735, allocations: 102.6 kB / 0.8484 GB, free: 67.87 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003788/0.7354, allocations: 175.5 kB / 0.8485 GB, free: 67.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.7514, allocations: 5.196 MB / 0.8536 GB, free: 66.29 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.7727, allocations: 14.42 MB / 0.8677 GB, free: 55.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00968/0.7824, allocations: 3.254 MB / 0.8709 GB, free: 53.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.7862, allocations: 1.369 MB / 0.8722 GB, free: 52.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.7863, allocations: 21.02 kB / 0.8722 GB, free: 52.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004693/0.791, allocations: 1.796 MB / 0.874 GB, free: 51.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 3.516e-06/0.791, allocations: 0 / 0.874 GB, free: 51.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.114/0.905, allocations: 28.23 MB / 0.9016 GB, free: 30.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.9051, allocations: 0.4889 MB / 0.902 GB, free: 29.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.9081, allocations: 2.302 MB / 0.9043 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/0.9085, allocations: 77.7 kB / 0.9044 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.9095, allocations: 1.451 MB / 0.9058 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/0.9103, allocations: 0.8661 MB / 0.9066 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/0.9111, allocations: 416.5 kB / 0.907 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.9111, allocations: 301.1 kB / 0.9073 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/0.9157, allocations: 1.932 MB / 0.9092 GB, free: 22.19 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.9203, allocations: 2.235 MB / 0.9114 GB, free: 19.87 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009052/0.9294, allocations: 4.158 MB / 0.9154 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9294, allocations: 6.156 kB / 0.9154 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01645/0.9458, allocations: 6.478 MB / 0.9218 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.9459, allocations: 148.5 kB / 0.9219 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.9459, allocations: 4 kB / 0.9219 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00898/0.9549, allocations: 2.933 MB / 0.9248 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.9577, allocations: 479.2 kB / 0.9252 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03985/0.9976, allocations: 18.87 MB / 0.9437 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/1.002, allocations: 323.3 kB / 0.944 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/1.002, allocations: 93.14 kB / 0.9441 GB, free: 1.938 MB / 0.6544 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.001573/1.004, allocations: 0.7028 MB / 0.9447 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/1.004, allocations: 349.8 kB / 0.9451 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/1.005, allocations: 380.1 kB / 0.9454 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.005, allocations: 24 kB / 0.9455 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-05/1.005, allocations: 12 kB / 0.9455 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/1.005, allocations: 11.95 kB / 0.9455 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/1.011, allocations: 3.626 MB / 0.949 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.011, allocations: 0 / 0.949 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/1.013, allocations: 415.4 kB / 0.9494 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009895/1.023, allocations: 2.865 MB / 0.9522 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004655/1.023, allocations: 55.91 kB / 0.9523 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04122/1.065, allocations: 18.63 MB / 0.9705 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.065, allocations: 0.875 kB / 0.9705 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/1.084, allocations: 6.124 MB / 0.9765 GB, free: 424 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.086, allocations: 0.7134 MB / 0.9771 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/1.086, allocations: 44 kB / 0.9772 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/1.09, allocations: 314.9 kB / 0.9775 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/1.091, allocations: 358.7 kB / 0.9778 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.091, allocations: 71.97 kB / 0.9779 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002498/1.093, allocations: 1.532 MB / 0.9794 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/1.093, allocations: 0 / 0.9794 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003188/1.097, allocations: 1.047 MB / 0.9804 GB, free: 12.33 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.01903/1.116, allocations: 6.737 MB / 0.987 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02454/1.14, allocations: 6.316 MB / 0.9932 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.14, allocations: 0.75 kB / 0.9932 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/1.158, allocations: 3.922 MB / 0.997 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.164, allocations: 1.148 MB / 0.9981 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07739/1.241, allocations: 31.84 MB / 1.029 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.243, allocations: 2.231 MB / 1.031 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002418/1.246, allocations: 0.5138 MB / 1.032 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.248, allocations: 1.339 MB / 1.033 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.248, allocations: 0 / 1.033 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/1.438, allocations: 104.3 MB / 1.135 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/21.47, allocations: 7.938 kB / 1.135 GB, free: 14.41 MB / 0.8575 GB " [Timeout remaining time 638] (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 os._exit(0), Time elapsed: 25.41194811501191] Failed to read output from testmodel.py, exit status != 0: 21.622375240025576 21.637830617 21.334839639 Calling exit ...