Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0007617/0.0007617, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008326/0.0008326, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.8731/0.8731, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.622e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0153/0.01532, allocations: 20.93 MB / 0.971 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.03316, allocations: 16.66 MB / 0.9872 GB, free: 13.76 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.0359, allocations: 166.7 kB / 0.9874 GB, free: 13.6 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.04119, allocations: 4.178 MB / 0.9915 GB, free: 9.41 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.008513/0.04971, allocations: 3.697 MB / 0.9951 GB, free: 5.699 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.0526, allocations: 1.32 MB / 0.9964 GB, free: 4.383 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.006478/0.05908, allocations: 5.958 MB / 1.002 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.06242, allocations: 2.845 MB / 1.005 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.06686, allocations: 3.687 MB / 1.009 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.06951, allocations: 1.92 MB / 1.01 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.06997, allocations: 364 kB / 1.011 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.07173, allocations: 0.9745 MB / 1.012 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.07252, allocations: 1.265 MB / 1.013 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.07372, allocations: 1.364 MB / 1.014 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.07836, allocations: 5.199 MB / 1.019 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.07837, allocations: 0 / 1.019 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.944e-06/0.07837, allocations: 0 / 1.019 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.383e-05/0.07842, allocations: 0 / 1.019 GB, free: 12.68 MB / 0.9792 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.005511/0.08393, allocations: 4.608 MB / 1.024 GB, free: 7.969 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.08398, allocations: 8.031 kB / 1.024 GB, free: 7.961 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005068/0.08448, allocations: 362.3 kB / 1.024 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007629/0.09211, allocations: 3.275 MB / 1.027 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.09516, allocations: 2.166 MB / 1.03 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.09542, allocations: 466.3 kB / 1.03 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.09573, allocations: 236.3 kB / 1.03 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/0.1022, allocations: 5.367 MB / 1.035 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.1023, allocations: 0 / 1.035 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.1025, allocations: 104 kB / 1.036 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.1026, allocations: 172.8 kB / 1.036 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007216/0.1098, allocations: 5.194 MB / 1.041 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4594/0.5692, allocations: 9.161 MB / 1.05 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.5739, allocations: 3.242 MB / 1.053 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.5756, allocations: 1.37 MB / 1.054 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.5757, allocations: 24.97 kB / 1.054 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002114/0.5778, allocations: 2.448 MB / 1.057 GB, free: 123 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 3.196e-06/0.5778, allocations: 0 / 1.057 GB, free: 123 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06316/0.641, allocations: 27.54 MB / 1.084 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6411, allocations: 0.4902 MB / 1.084 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.6436, allocations: 2.313 MB / 1.086 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.6437, allocations: 77.03 kB / 1.086 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007597/0.6445, allocations: 1.454 MB / 1.088 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.645, allocations: 0.8473 MB / 1.089 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005714/0.6456, allocations: 419.9 kB / 1.089 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.918e-05/0.6456, allocations: 306.8 kB / 1.089 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/0.6486, allocations: 2.065 MB / 1.091 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.6519, allocations: 2.775 MB / 1.094 GB, free: 113 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005929/0.6578, allocations: 4.159 MB / 1.098 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6578, allocations: 1.656 kB / 1.098 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01094/0.6687, allocations: 6.62 MB / 1.105 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.6688, allocations: 148.4 kB / 1.105 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6688, allocations: 10.3 kB / 1.105 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/0.6745, allocations: 2.93 MB / 1.108 GB, free: 108.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.6758, allocations: 492.5 kB / 1.108 GB, free: 108.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.697, allocations: 18.28 MB / 1.126 GB, free: 98.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.6994, allocations: 317.2 kB / 1.126 GB, free: 98.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6996, allocations: 91.06 kB / 1.126 GB, free: 98.08 MB / 0.9948 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.001142/0.7007, allocations: 0.706 MB / 1.127 GB, free: 97.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.7011, allocations: 348.8 kB / 1.127 GB, free: 97.43 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.7014, allocations: 392.1 kB / 1.128 GB, free: 97.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.7014, allocations: 22.56 kB / 1.128 GB, free: 97.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.7014, allocations: 11.92 kB / 1.128 GB, free: 97.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7014, allocations: 12.83 kB / 1.128 GB, free: 97.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.7039, allocations: 3.042 MB / 1.131 GB, free: 95.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.7039, allocations: 0 / 1.131 GB, free: 95.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.705, allocations: 420.5 kB / 1.131 GB, free: 95.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004469/0.7094, allocations: 2.862 MB / 1.134 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.7096, allocations: 55.8 kB / 1.134 GB, free: 93.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.7283, allocations: 18.06 MB / 1.152 GB, free: 76.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7283, allocations: 0 / 1.152 GB, free: 76.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008645/0.737, allocations: 6.115 MB / 1.158 GB, free: 70.52 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.738, allocations: 0.6381 MB / 1.158 GB, free: 69.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.7383, allocations: 47.98 kB / 1.158 GB, free: 69.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7397, allocations: 311.6 kB / 1.159 GB, free: 69.53 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007276/0.7404, allocations: 370.4 kB / 1.159 GB, free: 69.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.7405, allocations: 67.97 kB / 1.159 GB, free: 69.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001308/0.7418, allocations: 1.532 MB / 1.16 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7418, allocations: 0 / 1.16 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001918/0.7437, allocations: 1.043 MB / 1.161 GB, free: 66.53 MB / 0.9948 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.008626/0.7524, allocations: 6.743 MB / 1.168 GB, free: 59.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01128/0.7636, allocations: 6.462 MB / 1.174 GB, free: 53.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7636, allocations: 0 / 1.174 GB, free: 53.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00771/0.7713, allocations: 3.918 MB / 1.178 GB, free: 49.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.7742, allocations: 1.143 MB / 1.179 GB, free: 48.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/0.8111, allocations: 32.56 MB / 1.211 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.8122, allocations: 1.692 MB / 1.213 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001388/0.8136, allocations: 0.5058 MB / 1.213 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/0.8145, allocations: 1.332 MB / 1.215 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of SimCode: time 1.453e-06/0.8145, allocations: 4 kB / 1.215 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.9285, allocations: 106.8 MB / 1.319 GB, free: 2.332 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.38, allocations: 6.875 kB / 1.319 GB, free: 2.328 MB / 1.089 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.461506337858737] Failed to read output from testmodel.py, exit status != 0: 13.52037660498172 13.53056987 13.450428937 Calling exit ...