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.001349/0.00135, allocations: 109.9 kB / 16.41 MB, free: 6.5 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.001505/0.001505, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.474/1.474, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.069/1.069, allocations: 173.4 MB / 470.6 MB, free: 13.65 MB / 382.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.001965/0.001965, allocations: 68.7 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 89.5 MB / 0.7352 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.4217/0.6023, allocations: 22.62 MB / 0.7573 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.6244, allocations: 17.64 MB / 0.7745 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.628, allocations: 115.9 kB / 0.7746 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.6393, allocations: 4.167 MB / 0.7787 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.6525, allocations: 3.511 MB / 0.7821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.6573, allocations: 1.315 MB / 0.7834 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01295/0.6703, allocations: 5.788 MB / 0.7891 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007899/0.6782, allocations: 3.594 MB / 0.7926 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005986/0.6843, allocations: 2.403 MB / 0.7949 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006555/0.6909, allocations: 2.447 MB / 0.7973 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.6929, allocations: 370.4 kB / 0.7977 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.6973, allocations: 1.034 MB / 0.7987 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.7002, allocations: 1.202 MB / 0.7998 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006135/0.7063, allocations: 1.997 MB / 0.8018 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.717, allocations: 5.196 MB / 0.8069 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.717, allocations: 0 / 0.8069 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.717, allocations: 1.344 kB / 0.8069 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002364/0.7173, allocations: 0 / 0.8069 GB, free: 0.8281 MB / 0.5919 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.01608/0.7334, allocations: 4.724 MB / 0.8115 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.7335, allocations: 17.62 kB / 0.8115 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008395/0.7343, allocations: 363.6 kB / 0.8118 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.7512, allocations: 3.29 MB / 0.8151 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005627/0.7569, allocations: 2.246 MB / 0.8173 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000604/0.7576, allocations: 466.4 kB / 0.8177 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.7586, allocations: 242.1 kB / 0.8179 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.7716, allocations: 4.819 MB / 0.8226 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/0.7717, allocations: 0 / 0.8226 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.7721, allocations: 104.1 kB / 0.8227 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.7723, allocations: 167.2 kB / 0.8229 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.7868, allocations: 5.204 MB / 0.828 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.8145, allocations: 14.41 MB / 0.8421 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.8251, allocations: 3.387 MB / 0.8454 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004041/0.8292, allocations: 1.471 MB / 0.8468 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.8294, allocations: 25.22 kB / 0.8468 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004544/0.8339, allocations: 1.783 MB / 0.8486 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 5.61e-06/0.8339, allocations: 0 / 0.8486 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1387/0.9726, allocations: 28.31 MB / 0.8762 GB, free: 15.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004011/0.973, allocations: 0.4889 MB / 0.8767 GB, free: 15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/0.9781, allocations: 2.304 MB / 0.8789 GB, free: 12.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006414/0.9787, allocations: 73.7 kB / 0.879 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.9804, allocations: 1.456 MB / 0.8804 GB, free: 11.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.9818, allocations: 0.8636 MB / 0.8813 GB, free: 10.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.9835, allocations: 412.5 kB / 0.8817 GB, free: 9.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9836, allocations: 309.1 kB / 0.882 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/0.9897, allocations: 1.925 MB / 0.8838 GB, free: 7.621 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006531/0.9963, allocations: 2.239 MB / 0.886 GB, free: 5.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.009, allocations: 4.161 MB / 0.8901 GB, free: 1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.009, allocations: 0 / 0.8901 GB, free: 1 MB / 0.67 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02175/1.03, allocations: 6.553 MB / 0.8965 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.031, allocations: 152.5 kB / 0.8966 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/1.031, allocations: 5.312 kB / 0.8966 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.042, allocations: 2.93 MB / 0.8995 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.045, allocations: 483.2 kB / 0.9 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04568/1.091, allocations: 18.86 MB / 0.9184 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.095, allocations: 323.6 kB / 0.9187 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005947/1.096, allocations: 91.92 kB / 0.9188 GB, free: 3.25 MB / 0.7012 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.00227/1.098, allocations: 0.7066 MB / 0.9195 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.099, allocations: 345.9 kB / 0.9198 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/1.1, allocations: 384.1 kB / 0.9202 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.1, allocations: 24 kB / 0.9202 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-05/1.1, allocations: 8 kB / 0.9202 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/1.1, allocations: 11.95 kB / 0.9202 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/1.107, allocations: 3.628 MB / 0.9238 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/1.107, allocations: 0 / 0.9238 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.11, allocations: 415.3 kB / 0.9241 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/1.12, allocations: 2.876 MB / 0.927 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005161/1.121, allocations: 47.97 kB / 0.927 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04425/1.165, allocations: 18.63 MB / 0.9452 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.165, allocations: 3.938 kB / 0.9452 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0209/1.186, allocations: 6.194 MB / 0.9512 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.189, allocations: 0.7096 MB / 0.9519 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.19, allocations: 55.92 kB / 0.952 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004559/1.194, allocations: 308.1 kB / 0.9523 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001776/1.196, allocations: 358.7 kB / 0.9526 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004623/1.197, allocations: 63.98 kB / 0.9527 GB, free: 100 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003686/1.2, allocations: 1.536 MB / 0.9542 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/1.2, allocations: 0 / 0.9542 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004692/1.205, allocations: 1.043 MB / 0.9552 GB, free: 13.52 MB / 0.7481 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.02082/1.226, allocations: 6.825 MB / 0.9619 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02544/1.251, allocations: 6.485 MB / 0.9682 GB, free: 76 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.252, allocations: 4 kB / 0.9682 GB, free: 72 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0186/1.27, allocations: 4.072 MB / 0.9722 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/1.277, allocations: 1.134 MB / 0.9733 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08782/1.365, allocations: 31.97 MB / 1.005 GB, free: 10.42 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/1.368, allocations: 2.235 MB / 1.007 GB, free: 8.152 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002493/1.37, allocations: 0.5021 MB / 1.007 GB, free: 7.645 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.372, allocations: 1.343 MB / 1.009 GB, free: 6.301 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/1.372, allocations: 0 / 1.009 GB, free: 6.301 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5919/1.964, allocations: 102.7 MB / 1.109 GB, free: 281.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/21.59, allocations: 7.828 kB / 1.109 GB, free: 281.1 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 sys.exit(0), Time elapsed: 25.63394500303548] Failed to read output from testmodel.py, exit status != 0: 21.747010133927688 21.766779852 21.046125829 Calling exit ...