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.00123/0.00123, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001301/0.001301, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 287 kB / 309.1 MB, free: 3.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.00276/0.00276, allocations: 105.5 kB / 0.7343 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1706, allocations: 95.35 MB / 0.8274 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02686/0.1974, allocations: 22.95 MB / 0.8498 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.2234, allocations: 17.83 MB / 0.8672 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.2262, allocations: 154.8 kB / 0.8674 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.011/0.2372, allocations: 4.22 MB / 0.8715 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.2481, allocations: 3.582 MB / 0.875 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.252, allocations: 1.312 MB / 0.8763 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.2622, allocations: 5.791 MB / 0.8819 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005579/0.2678, allocations: 2.808 MB / 0.8847 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/0.2725, allocations: 2.519 MB / 0.8871 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/0.2775, allocations: 2.514 MB / 0.8896 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.2789, allocations: 372 kB / 0.8899 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.282, allocations: 1.053 MB / 0.891 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.284, allocations: 1.226 MB / 0.8921 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.2869, allocations: 1.998 MB / 0.8941 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006964/0.2939, allocations: 5.199 MB / 0.8992 GB, free: 96 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2939, allocations: 0 / 0.8992 GB, free: 96 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2939, allocations: 0 / 0.8992 GB, free: 96 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001236/0.294, allocations: 0 / 0.8992 GB, free: 96 kB / 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.3045, allocations: 4.73 MB / 0.9038 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3046, allocations: 8.031 kB / 0.9038 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005087/0.3051, allocations: 370.3 kB / 0.9042 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.3215, allocations: 3.287 MB / 0.9074 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.3265, allocations: 2.242 MB / 0.9096 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.327, allocations: 466 kB / 0.91 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005606/0.3275, allocations: 236 kB / 0.9102 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.3392, allocations: 4.826 MB / 0.9149 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.3393, allocations: 0 / 0.9149 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.3396, allocations: 99.98 kB / 0.915 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.3398, allocations: 176.8 kB / 0.9152 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.354, allocations: 5.194 MB / 0.9203 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.3759, allocations: 14.41 MB / 0.9343 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009914/0.3858, allocations: 3.26 MB / 0.9375 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.3895, allocations: 1.369 MB / 0.9389 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.3897, allocations: 29.28 kB / 0.9389 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004332/0.394, allocations: 1.797 MB / 0.9406 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.266e-06/0.394, allocations: 0 / 0.9406 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1327/0.5267, allocations: 28.23 MB / 0.9682 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003163/0.527, allocations: 496.7 kB / 0.9687 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.5304, allocations: 2.3 MB / 0.9709 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004112/0.5308, allocations: 77.7 kB / 0.971 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.5322, allocations: 1.452 MB / 0.9724 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009948/0.5332, allocations: 0.8598 MB / 0.9733 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009343/0.5341, allocations: 416.5 kB / 0.9737 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5342, allocations: 305.1 kB / 0.974 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005569/0.5398, allocations: 1.929 MB / 0.9758 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00592/0.5457, allocations: 2.238 MB / 0.978 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.5571, allocations: 4.165 MB / 0.9821 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.5571, allocations: 0 / 0.9821 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01956/0.5767, allocations: 6.475 MB / 0.9884 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5768, allocations: 148.5 kB / 0.9886 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5768, allocations: 4 kB / 0.9886 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3273/0.9042, allocations: 2.93 MB / 0.9914 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.907, allocations: 484.1 kB / 0.9919 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03785/0.9449, allocations: 18.87 MB / 1.01 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/0.9486, allocations: 320.7 kB / 1.011 GB, free: 142 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.9489, allocations: 88.78 kB / 1.011 GB, free: 142 MB / 0.7325 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.001242/0.9502, allocations: 0.7107 MB / 1.011 GB, free: 141.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.9507, allocations: 346 kB / 1.012 GB, free: 141.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.9514, allocations: 382.2 kB / 1.012 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.9515, allocations: 24.44 kB / 1.012 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/0.9515, allocations: 12.56 kB / 1.012 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.9515, allocations: 16.44 kB / 1.012 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.9549, allocations: 3.626 MB / 1.016 GB, free: 139.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9549, allocations: 10.34 kB / 1.016 GB, free: 139.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/0.9572, allocations: 415.2 kB / 1.016 GB, free: 139.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008563/0.9658, allocations: 2.866 MB / 1.019 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.966, allocations: 48.72 kB / 1.019 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03245/0.9985, allocations: 18.64 MB / 1.037 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9985, allocations: 4 kB / 1.037 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/1.014, allocations: 6.112 MB / 1.043 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.016, allocations: 0.715 MB / 1.044 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/1.016, allocations: 47.98 kB / 1.044 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.019, allocations: 315.6 kB / 1.044 GB, free: 119.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.02, allocations: 350.7 kB / 1.044 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.02, allocations: 67.97 kB / 1.045 GB, free: 119.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001643/1.022, allocations: 1.536 MB / 1.046 GB, free: 118 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 4 kB / 1.046 GB, free: 118 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002432/1.024, allocations: 1.039 MB / 1.047 GB, free: 117 MB / 0.7325 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.01579/1.04, allocations: 6.743 MB / 1.054 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02083/1.061, allocations: 6.322 MB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.061, allocations: 4 kB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01574/1.077, allocations: 3.926 MB / 1.064 GB, free: 99.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/1.081, allocations: 1.138 MB / 1.065 GB, free: 98.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06074/1.142, allocations: 31.8 MB / 1.096 GB, free: 66.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.143, allocations: 2.227 MB / 1.098 GB, free: 64.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001783/1.145, allocations: 0.5096 MB / 1.099 GB, free: 63.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.146, allocations: 1.339 MB / 1.1 GB, free: 62.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.146, allocations: 0 / 1.1 GB, free: 62.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/1.304, allocations: 103.4 MB / 1.201 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/19.97, allocations: 7.922 kB / 1.201 GB, free: 8.199 MB / 0.7794 GB " [Timeout remaining time 640] (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: 24.086584735661745] Failed to read output from testmodel.py, exit status != 0: 20.126259366050363 20.150891507 19.852379204 Calling exit ...