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.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.001228/0.001228, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.00123/0.00123, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] 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.0024/0.0024, allocations: 289.1 kB / 303 MB, free: 9.508 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.17/1.17, allocations: 180.9 MB / 0.5261 GB, free: 14.59 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.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(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 0.002717/0.002717, allocations: 96.72 kB / 0.7248 GB, free: 40.34 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1554, allocations: 94.17 MB / 0.8168 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02699/0.1824, allocations: 22.92 MB / 0.8391 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.2092, allocations: 17.8 MB / 0.8565 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.212, allocations: 111.4 kB / 0.8566 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.223, allocations: 4.227 MB / 0.8608 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.2352, allocations: 3.576 MB / 0.8643 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003796/0.239, allocations: 1.332 MB / 0.8656 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009251/0.2483, allocations: 5.777 MB / 0.8712 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00457/0.2528, allocations: 2.792 MB / 0.8739 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004512/0.2573, allocations: 2.48 MB / 0.8763 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004938/0.2623, allocations: 2.514 MB / 0.8788 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.2636, allocations: 368 kB / 0.8792 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2663, allocations: 1.057 MB / 0.8802 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.2678, allocations: 1.226 MB / 0.8814 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.2709, allocations: 1.998 MB / 0.8833 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007115/0.278, allocations: 5.199 MB / 0.8884 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.278, allocations: 0 / 0.8884 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2781, allocations: 3.938 kB / 0.8884 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001214/0.2782, allocations: 0 / 0.8884 GB, free: 11.89 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.01069/0.2889, allocations: 4.726 MB / 0.893 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2889, allocations: 8.031 kB / 0.893 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005131/0.2894, allocations: 370.3 kB / 0.8934 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.3047, allocations: 3.279 MB / 0.8966 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.31, allocations: 2.254 MB / 0.8988 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.3104, allocations: 474 kB / 0.8992 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006708/0.3111, allocations: 228 kB / 0.8995 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.3215, allocations: 4.814 MB / 0.9042 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.3215, allocations: 3.938 kB / 0.9042 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.3218, allocations: 104 kB / 0.9043 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/0.322, allocations: 168.8 kB / 0.9044 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.3349, allocations: 5.198 MB / 0.9095 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02417/0.359, allocations: 14.42 MB / 0.9236 GB, free: 6.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/0.3685, allocations: 3.262 MB / 0.9268 GB, free: 3.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.3721, allocations: 1.373 MB / 0.9281 GB, free: 1.637 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.3723, allocations: 21.3 kB / 0.9281 GB, free: 1.613 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004354/0.3766, allocations: 1.782 MB / 0.9299 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.767e-06/0.3766, allocations: 4 kB / 0.9299 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1207/0.4973, allocations: 28.21 MB / 0.9574 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002918/0.4976, allocations: 0.4967 MB / 0.9579 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.5013, allocations: 2.304 MB / 0.9602 GB, free: 416 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003926/0.5017, allocations: 77.64 kB / 0.9602 GB, free: 332 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.503, allocations: 1.452 MB / 0.9617 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009931/0.504, allocations: 0.8675 MB / 0.9625 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.505, allocations: 408.6 kB / 0.9629 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5052, allocations: 305.1 kB / 0.9632 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005059/0.5102, allocations: 1.929 MB / 0.9651 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/0.5155, allocations: 2.235 MB / 0.9672 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.5258, allocations: 4.165 MB / 0.9713 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.5258, allocations: 0 / 0.9713 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01844/0.5442, allocations: 6.471 MB / 0.9776 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.5444, allocations: 152.5 kB / 0.9778 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.5444, allocations: 8 kB / 0.9778 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.5546, allocations: 2.922 MB / 0.9806 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/0.5574, allocations: 487.2 kB / 0.9811 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04108/0.5985, allocations: 18.86 MB / 0.9995 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/0.6023, allocations: 327.6 kB / 0.9998 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/0.6028, allocations: 83.98 kB / 0.9999 GB, free: 7.055 MB / 0.7481 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.00166/0.6044, allocations: 0.7104 MB / 1.001 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/0.6052, allocations: 345.9 kB / 1.001 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.606, allocations: 384.1 kB / 1.001 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.606, allocations: 28 kB / 1.001 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/0.6061, allocations: 8.188 kB / 1.001 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.6061, allocations: 11.95 kB / 1.001 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.6115, allocations: 3.64 MB / 1.005 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.6115, allocations: 0 / 1.005 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/0.6139, allocations: 415.3 kB / 1.005 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3559/0.9697, allocations: 2.868 MB / 1.008 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000403/0.9701, allocations: 49.2 kB / 1.008 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03531/1.005, allocations: 18.63 MB / 1.026 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.005, allocations: 0 / 1.026 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.02, allocations: 6.111 MB / 1.032 GB, free: 166.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.022, allocations: 0.7153 MB / 1.033 GB, free: 165.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/1.022, allocations: 53.41 kB / 1.033 GB, free: 165.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.025, allocations: 318.1 kB / 1.033 GB, free: 165.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.026, allocations: 348 kB / 1.034 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.026, allocations: 72.8 kB / 1.034 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001708/1.028, allocations: 1.531 MB / 1.035 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 2.5 kB / 1.035 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002029/1.03, allocations: 1.049 MB / 1.036 GB, free: 165 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.01416/1.044, allocations: 6.739 MB / 1.043 GB, free: 160.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.063, allocations: 6.312 MB / 1.049 GB, free: 154.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.063, allocations: 2.938 kB / 1.049 GB, free: 154.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/1.076, allocations: 3.925 MB / 1.053 GB, free: 150.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.08, allocations: 1.148 MB / 1.054 GB, free: 149.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05675/1.137, allocations: 31.82 MB / 1.085 GB, free: 117.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.138, allocations: 2.231 MB / 1.087 GB, free: 114.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001981/1.14, allocations: 0.514 MB / 1.088 GB, free: 114.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.141, allocations: 1.343 MB / 1.089 GB, free: 113.1 MB / 0.7481 GB Notification: Performance of SimCode: time 1.633e-06/1.141, allocations: 0 / 1.089 GB, free: 113.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/1.279, allocations: 103.4 MB / 1.19 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.72, allocations: 11.28 kB / 1.19 GB, free: 10.91 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.800412355922163] Failed to read output from testmodel.py, exit status != 0: 19.872720509767532 19.890098114 19.60728545 Calling exit ...