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.0007946/0.0007946, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008685/0.0008685, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8575/0.8575, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.00145/0.00145, allocations: 236.9 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6617/0.6617, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.893e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.2467/0.2468, allocations: 20.92 MB / 0.6668 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.2624, allocations: 16.66 MB / 0.683 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.2654, allocations: 151.6 kB / 0.6832 GB, free: 34.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005885/0.2713, allocations: 4.169 MB / 0.6872 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009384/0.2807, allocations: 3.702 MB / 0.6909 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.2842, allocations: 1.33 MB / 0.6922 GB, free: 29.14 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007777/0.292, allocations: 5.985 MB / 0.698 GB, free: 26.21 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.2959, allocations: 2.837 MB / 0.7008 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.3021, allocations: 3.486 MB / 0.7042 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.3053, allocations: 2.025 MB / 0.7061 GB, free: 22.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005833/0.3059, allocations: 366.5 kB / 0.7065 GB, free: 22.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3077, allocations: 0.9624 MB / 0.7074 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008423/0.3086, allocations: 1.278 MB / 0.7087 GB, free: 20.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3103, allocations: 1.373 MB / 0.71 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.3148, allocations: 5.232 MB / 0.7151 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3148, allocations: 1.125 kB / 0.7151 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3148, allocations: 4 kB / 0.7151 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.786e-05/0.3149, allocations: 0 / 0.7151 GB, free: 16.53 MB / 0.5573 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.00659/0.3215, allocations: 4.62 MB / 0.7197 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3216, allocations: 11.38 kB / 0.7197 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003379/0.3219, allocations: 360.2 kB / 0.72 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007995/0.3299, allocations: 3.287 MB / 0.7232 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.3337, allocations: 2.136 MB / 0.7253 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.3339, allocations: 470.3 kB / 0.7258 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.3344, allocations: 235.8 kB / 0.726 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005673/0.34, allocations: 5.877 MB / 0.7317 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.3401, allocations: 4 kB / 0.7317 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.3403, allocations: 108 kB / 0.7318 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.3404, allocations: 176.7 kB / 0.732 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006809/0.3472, allocations: 5.187 MB / 0.7371 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.361, allocations: 9.181 MB / 0.746 GB, free: 4.492 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/0.3664, allocations: 3.241 MB / 0.7492 GB, free: 1.238 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.3683, allocations: 1.375 MB / 0.7505 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-05/0.3684, allocations: 17.31 kB / 0.7505 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002559/0.371, allocations: 2.464 MB / 0.753 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 3.457e-06/0.371, allocations: 0 / 0.753 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.06276/0.4338, allocations: 27.55 MB / 0.7799 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.4339, allocations: 0.4889 MB / 0.7803 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.4364, allocations: 2.318 MB / 0.7826 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.4367, allocations: 81.69 kB / 0.7827 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009036/0.4376, allocations: 1.444 MB / 0.7841 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000598/0.4382, allocations: 0.8559 MB / 0.7849 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/0.4388, allocations: 412.5 kB / 0.7853 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.4388, allocations: 305.1 kB / 0.7856 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.4418, allocations: 2.066 MB / 0.7876 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/0.4452, allocations: 2.774 MB / 0.7903 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005866/0.451, allocations: 4.165 MB / 0.7944 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.451, allocations: 4 kB / 0.7944 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0106/0.4617, allocations: 6.619 MB / 0.8009 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.4617, allocations: 148.8 kB / 0.801 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4618, allocations: 12 kB / 0.801 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005487/0.4672, allocations: 2.92 MB / 0.8039 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4686, allocations: 492.6 kB / 0.8043 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.4918, allocations: 18.28 MB / 0.8222 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.4947, allocations: 327.6 kB / 0.8225 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.495, allocations: 87.97 kB / 0.8226 GB, free: 4.906 MB / 0.6511 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.001311/0.4963, allocations: 0.7077 MB / 0.8233 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/0.4968, allocations: 353.8 kB / 0.8236 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.4972, allocations: 384.1 kB / 0.824 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4972, allocations: 24 kB / 0.824 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-05/0.4972, allocations: 8 kB / 0.824 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4973, allocations: 11.95 kB / 0.824 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.5006, allocations: 3.041 MB / 0.827 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5006, allocations: 3.938 kB / 0.827 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.5018, allocations: 415.4 kB / 0.8274 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00517/0.5069, allocations: 2.863 MB / 0.8302 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.5071, allocations: 51.97 kB / 0.8302 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/0.53, allocations: 18.06 MB / 0.8479 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.53, allocations: 4 kB / 0.8479 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.5404, allocations: 6.108 MB / 0.8538 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.5418, allocations: 0.6343 MB / 0.8545 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.5422, allocations: 47.98 kB / 0.8545 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.5437, allocations: 315.6 kB / 0.8548 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/0.5448, allocations: 366.4 kB / 0.8552 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.5449, allocations: 71.97 kB / 0.8552 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001683/0.5466, allocations: 1.532 MB / 0.8567 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.5466, allocations: 4 kB / 0.8567 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002053/0.5487, allocations: 1.047 MB / 0.8578 GB, free: 0.5508 MB / 0.6823 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.009967/0.5586, allocations: 6.745 MB / 0.8643 GB, free: 9.766 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01219/0.5708, allocations: 6.45 MB / 0.8706 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5708, allocations: 3.938 kB / 0.8706 GB, free: 3.188 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009023/0.5799, allocations: 3.92 MB / 0.8745 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.5833, allocations: 1.143 MB / 0.8756 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/0.6287, allocations: 32.57 MB / 0.9074 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.6304, allocations: 1.684 MB / 0.909 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001804/0.6322, allocations: 0.5018 MB / 0.9095 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.6336, allocations: 1.344 MB / 0.9108 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of SimCode: time 1.653e-06/0.6336, allocations: 0 / 0.9108 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.32/0.9535, allocations: 106.9 MB / 1.015 GB, free: 201.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.67, allocations: 8.891 kB / 1.015 GB, free: 201.2 MB / 0.7605 GB " [Timeout remaining time 648] (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: 14.341404106467962] Failed to read output from testmodel.py, exit status != 0: 11.81053277850151 11.821424034 11.503996259000001 Calling exit ...