Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001444/0.001444, allocations: 117.8 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001758/0.001758, allocations: 224.7 kB / 23.01 MB, free: 5.043 MB / 14.72 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.001/1.001, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002077/0.002077, allocations: 70.2 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1917, allocations: 89.16 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02865/0.2204, allocations: 23.48 MB / 0.7513 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4687/0.6891, allocations: 18.18 MB / 0.7691 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.6933, allocations: 188.4 kB / 0.7692 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.705, allocations: 4.355 MB / 0.7735 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.7188, allocations: 3.604 MB / 0.777 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.7233, allocations: 1.319 MB / 0.7783 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.735, allocations: 5.805 MB / 0.784 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005866/0.7408, allocations: 2.875 MB / 0.7868 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008415/0.7492, allocations: 2.865 MB / 0.7896 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00652/0.7558, allocations: 2.319 MB / 0.7918 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.7573, allocations: 354 kB / 0.7922 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.7616, allocations: 1.034 MB / 0.7932 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002353/0.764, allocations: 1.188 MB / 0.7943 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004269/0.7682, allocations: 1.961 MB / 0.7963 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009723/0.778, allocations: 5.101 MB / 0.8012 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.778, allocations: 0 / 0.8012 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.778, allocations: 0 / 0.8012 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001829/0.7781, allocations: 1.094 kB / 0.8012 GB, free: 14.96 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.01489/0.793, allocations: 4.621 MB / 0.8058 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7931, allocations: 10.12 kB / 0.8058 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007756/0.7939, allocations: 361.1 kB / 0.8061 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.81, allocations: 3.258 MB / 0.8093 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007073/0.817, allocations: 2.188 MB / 0.8114 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006099/0.8176, allocations: 465.7 kB / 0.8119 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.819, allocations: 242.2 kB / 0.8121 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.8325, allocations: 4.694 MB / 0.8167 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/0.8326, allocations: 0 / 0.8167 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/0.8329, allocations: 102.1 kB / 0.8168 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.8332, allocations: 175.3 kB / 0.817 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.8468, allocations: 5.178 MB / 0.822 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.8775, allocations: 15.03 MB / 0.8367 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009652/0.8871, allocations: 3.148 MB / 0.8398 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/0.8908, allocations: 1.358 MB / 0.8411 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.891, allocations: 28.75 kB / 0.8411 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004022/0.895, allocations: 1.586 MB / 0.8427 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=163): time 4.258e-06/0.895, allocations: 4 kB / 0.8427 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=250): time 0.119/1.014, allocations: 26.68 MB / 0.8687 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.014, allocations: 96.22 kB / 0.8688 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/1.017, allocations: 1.923 MB / 0.8707 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005506/1.018, allocations: 77.64 kB / 0.8708 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/1.02, allocations: 1.521 MB / 0.8723 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.021, allocations: 0.8645 MB / 0.8731 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000813/1.021, allocations: 432.9 kB / 0.8735 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.022, allocations: 301.1 kB / 0.8738 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005049/1.027, allocations: 1.855 MB / 0.8756 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005558/1.032, allocations: 2.333 MB / 0.8779 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.043, allocations: 4.26 MB / 0.882 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.043, allocations: 4 kB / 0.882 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315) (initialization): time 0.01757/1.061, allocations: 6.301 MB / 0.8882 GB, free: 14.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.061, allocations: 152.5 kB / 0.8883 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/1.061, allocations: 16.67 kB / 0.8884 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00804/1.069, allocations: 2.658 MB / 0.891 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.072, allocations: 0.4992 MB / 0.8914 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03934/1.111, allocations: 17.99 MB / 0.909 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.116, allocations: 331.5 kB / 0.9093 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004958/1.116, allocations: 95.97 kB / 0.9094 GB, free: 8.449 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (178): * Single equations (assignments): 171 * 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,48.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.002371/1.119, allocations: 0.7141 MB / 0.9101 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009637/1.12, allocations: 318 kB / 0.9104 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/1.121, allocations: 357.8 kB / 0.9108 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.121, allocations: 24 kB / 0.9108 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.814e-05/1.121, allocations: 12.19 kB / 0.9108 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.121, allocations: 11.95 kB / 0.9108 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/1.126, allocations: 3.478 MB / 0.9142 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.127, allocations: 7.984 kB / 0.9142 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.129, allocations: 415.3 kB / 0.9146 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007968/1.137, allocations: 2.597 MB / 0.9171 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005264/1.138, allocations: 47.97 kB / 0.9172 GB, free: 472 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03884/1.176, allocations: 17.79 MB / 0.9346 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.176, allocations: 3.984 kB / 0.9346 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.194, allocations: 5.869 MB / 0.9403 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.196, allocations: 0.5759 MB / 0.9409 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/1.197, allocations: 44.81 kB / 0.9409 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.2, allocations: 315.5 kB / 0.9412 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/1.202, allocations: 358.5 kB / 0.9416 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.202, allocations: 71.97 kB / 0.9416 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002082/1.204, allocations: 1.252 MB / 0.9428 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.204, allocations: 0 / 0.9428 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003529/1.208, allocations: 0.9688 MB / 0.9438 GB, free: 4.957 MB / 0.7169 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 (varLoad5.count,varLoad4.count,varLoad3.count,varLoad2.count,varLoad1.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 {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01739/1.225, allocations: 6.501 MB / 0.9501 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02309/1.248, allocations: 6.17 MB / 0.9562 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.248, allocations: 0 / 0.9562 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01709/1.265, allocations: 3.798 MB / 0.9599 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005527/1.271, allocations: 1.037 MB / 0.9609 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0703/1.341, allocations: 29.58 MB / 0.9898 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/1.343, allocations: 2.229 MB / 0.992 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00227/1.346, allocations: 480.3 kB / 0.9924 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/1.348, allocations: 1.323 MB / 0.9937 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of SimCode: time 2.054e-06/1.348, allocations: 0 / 0.9937 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5419/1.889, allocations: 98.51 MB / 1.09 GB, free: 291.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/21.7, allocations: 2.734 kB / 1.09 GB, free: 291.2 MB / 0.8575 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.875112501998956] Failed to read output from testmodel.py, exit status != 0: 21.871203001999675 21.885437508 21.103869993 Calling exit ...