Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001306/0.001306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001398/0.001398, allocations: 210.6 kB / 22.24 MB, free: 4.855 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00264/0.00264, allocations: 289 kB / 312.7 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.23/1.23, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003001/0.003001, allocations: 102.6 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1548, allocations: 95.39 MB / 0.8327 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02724/0.1821, allocations: 21.27 MB / 0.8534 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.2091, allocations: 16.85 MB / 0.8699 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.2121, allocations: 150.8 kB / 0.87 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.2241, allocations: 4.169 MB / 0.8741 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.236, allocations: 3.587 MB / 0.8776 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.2402, allocations: 1.318 MB / 0.8789 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009101/0.2493, allocations: 5.816 MB / 0.8846 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004642/0.254, allocations: 2.826 MB / 0.8873 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.2585, allocations: 2.62 MB / 0.8899 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.2627, allocations: 2.252 MB / 0.8921 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000731/0.2634, allocations: 368 kB / 0.8925 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.2655, allocations: 0.9633 MB / 0.8934 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.2667, allocations: 1.222 MB / 0.8946 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.2687, allocations: 1.641 MB / 0.8962 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005977/0.2747, allocations: 5.222 MB / 0.9013 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2747, allocations: 0 / 0.9013 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2747, allocations: 3.938 kB / 0.9013 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.096e-05/0.2748, allocations: 0 / 0.9013 GB, free: 1.602 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.01001/0.2848, allocations: 4.656 MB / 0.9058 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2849, allocations: 17.92 kB / 0.9059 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004936/0.2853, allocations: 366.3 kB / 0.9062 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.3018, allocations: 3.279 MB / 0.9094 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/0.3074, allocations: 2.139 MB / 0.9115 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.3078, allocations: 468.5 kB / 0.9119 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006157/0.3085, allocations: 236 kB / 0.9122 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.3206, allocations: 5.872 MB / 0.9179 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/0.3206, allocations: 7.938 kB / 0.9179 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.321, allocations: 111.9 kB / 0.918 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.3212, allocations: 168.8 kB / 0.9182 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.3354, allocations: 5.191 MB / 0.9232 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.3565, allocations: 9.174 MB / 0.9322 GB, free: 1.141 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.3665, allocations: 3.258 MB / 0.9354 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.3704, allocations: 1.369 MB / 0.9367 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.3706, allocations: 21.3 kB / 0.9367 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004767/0.3753, allocations: 2.443 MB / 0.9391 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.877e-06/0.3753, allocations: 0 / 0.9391 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1305/0.5059, allocations: 27.54 MB / 0.966 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003192/0.5062, allocations: 0.4889 MB / 0.9665 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.5096, allocations: 2.324 MB / 0.9688 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003704/0.51, allocations: 69.7 kB / 0.9688 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.5114, allocations: 1.46 MB / 0.9703 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.5124, allocations: 0.8636 MB / 0.9711 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008501/0.5133, allocations: 416.5 kB / 0.9715 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5134, allocations: 309.1 kB / 0.9718 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005483/0.5189, allocations: 2.066 MB / 0.9738 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005982/0.5249, allocations: 2.77 MB / 0.9765 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3428/0.8677, allocations: 4.159 MB / 0.9806 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.8677, allocations: 4.719 kB / 0.9806 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01847/0.8861, allocations: 6.622 MB / 0.9871 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.8862, allocations: 148.4 kB / 0.9872 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8862, allocations: 5.25 kB / 0.9872 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.8963, allocations: 2.918 MB / 0.9901 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.8993, allocations: 493.9 kB / 0.9905 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03639/0.9357, allocations: 18.29 MB / 1.008 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/0.9394, allocations: 319.1 kB / 1.009 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.9397, allocations: 93.5 kB / 1.009 GB, free: 124.1 MB / 0.7169 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.001236/0.9409, allocations: 0.712 MB / 1.009 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/0.9414, allocations: 350 kB / 1.01 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.942, allocations: 385.2 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.942, allocations: 23.25 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/0.942, allocations: 7.531 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.942, allocations: 17.02 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.9452, allocations: 3.041 MB / 1.013 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.9452, allocations: 7.984 kB / 1.013 GB, free: 121.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/0.9475, allocations: 412.6 kB / 1.014 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008453/0.9559, allocations: 2.865 MB / 1.016 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.9562, allocations: 51.97 kB / 1.016 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/0.9887, allocations: 18.06 MB / 1.034 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9887, allocations: 4 kB / 1.034 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.004, allocations: 6.112 MB / 1.04 GB, free: 95.65 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.006, allocations: 0.6304 MB / 1.041 GB, free: 95.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/1.007, allocations: 51.98 kB / 1.041 GB, free: 94.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/1.01, allocations: 324.4 kB / 1.041 GB, free: 94.65 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009936/1.011, allocations: 360.9 kB / 1.041 GB, free: 94.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.011, allocations: 71.97 kB / 1.041 GB, free: 94.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001643/1.013, allocations: 1.532 MB / 1.043 GB, free: 92.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.043 GB, free: 92.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002374/1.015, allocations: 1.047 MB / 1.044 GB, free: 91.65 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 (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.01593/1.031, allocations: 6.747 MB / 1.051 GB, free: 84.87 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02103/1.052, allocations: 6.452 MB / 1.057 GB, free: 78.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.052, allocations: 0 / 1.057 GB, free: 78.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/1.068, allocations: 3.93 MB / 1.061 GB, free: 74.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.072, allocations: 1.155 MB / 1.062 GB, free: 73.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06041/1.132, allocations: 32.36 MB / 1.093 GB, free: 40.35 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.134, allocations: 1.684 MB / 1.095 GB, free: 38.62 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002006/1.136, allocations: 0.5102 MB / 1.096 GB, free: 38.11 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.137, allocations: 1.339 MB / 1.097 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/1.137, allocations: 0 / 1.097 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1986/1.336, allocations: 107.2 MB / 1.202 GB, free: 11.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/19.14, allocations: 4.062 kB / 1.202 GB, free: 11.03 MB / 0.795 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.415224612224847] Failed to read output from testmodel.py, exit status != 0: 19.321638895198703 19.338596973 19.060538848 Calling exit ...