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.001705/0.001705, allocations: 118.2 kB / 17.17 MB, free: 6 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.002226/0.002226, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7678 GB, free: 9.512 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002049/0.002049, allocations: 71.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9187, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02874/0.9474, allocations: 22.96 MB / 1.301 GB, free: 12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0311/0.9785, allocations: 17.82 MB / 1.319 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004453/0.983, allocations: 151 kB / 1.319 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.9961, allocations: 4.22 MB / 1.323 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01565/1.012, allocations: 3.574 MB / 1.327 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005595/1.017, allocations: 1.313 MB / 1.328 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01201/1.029, allocations: 5.79 MB / 1.333 GB, free: 6.973 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007526/1.037, allocations: 2.797 MB / 1.336 GB, free: 5.203 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006655/1.044, allocations: 2.521 MB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006765/1.05, allocations: 2.518 MB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002173/1.052, allocations: 368.9 kB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/1.057, allocations: 1.056 MB / 1.343 GB, free: 1.875 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002844/1.06, allocations: 1.227 MB / 1.344 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005871/1.066, allocations: 1.986 MB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.078, allocations: 5.191 MB / 1.351 GB, free: 11.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.078, allocations: 1.219 kB / 1.351 GB, free: 11.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/1.078, allocations: 0 / 1.351 GB, free: 11.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002231/1.078, allocations: 3.938 kB / 1.351 GB, free: 11.97 MB / 1.045 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.0159/1.094, allocations: 4.735 MB / 1.355 GB, free: 8.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.094, allocations: 9.5 kB / 1.355 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001188/1.094, allocations: 63.08 kB / 1.355 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/1.095, allocations: 364.2 kB / 1.356 GB, free: 8.395 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/1.113, allocations: 3.278 MB / 1.359 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/1.12, allocations: 2.246 MB / 1.361 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006538/1.121, allocations: 474.1 kB / 1.362 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/1.122, allocations: 236 kB / 1.362 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/1.136, allocations: 4.813 MB / 1.367 GB, free: 1.945 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/1.136, allocations: 1.031 kB / 1.367 GB, free: 1.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004171/1.137, allocations: 113.2 kB / 1.367 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/1.137, allocations: 168.8 kB / 1.367 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/1.153, allocations: 5.204 MB / 1.372 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/1.182, allocations: 14.41 MB / 1.386 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.193, allocations: 3.269 MB / 1.389 GB, free: 9.805 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.197, allocations: 1.377 MB / 1.391 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/1.197, allocations: 25.3 kB / 1.391 GB, free: 8.398 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004961/1.202, allocations: 1.785 MB / 1.392 GB, free: 6.551 MB / 1.076 GB Notification: Performance of pre-optimization done (n=163): time 4.448e-06/1.202, allocations: 0 / 1.392 GB, free: 6.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=250): time 0.1412/1.343, allocations: 28.22 MB / 1.42 GB, free: 10.12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003345/1.344, allocations: 0.4889 MB / 1.42 GB, free: 9.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/1.348, allocations: 2.296 MB / 1.423 GB, free: 7.211 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/1.349, allocations: 81.69 kB / 1.423 GB, free: 7.125 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.35, allocations: 1.456 MB / 1.424 GB, free: 5.656 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.352, allocations: 0.8637 MB / 1.425 GB, free: 4.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/1.353, allocations: 412.5 kB / 1.425 GB, free: 4.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.353, allocations: 305.1 kB / 1.426 GB, free: 4.074 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006047/1.359, allocations: 1.925 MB / 1.427 GB, free: 2.145 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/1.366, allocations: 2.235 MB / 1.43 GB, free: 15.82 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.378, allocations: 4.158 MB / 1.434 GB, free: 11.53 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/1.378, allocations: 7.938 kB / 1.434 GB, free: 11.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02179/1.4, allocations: 6.475 MB / 1.44 GB, free: 4.953 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.4, allocations: 148.5 kB / 1.44 GB, free: 4.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.4, allocations: 8 kB / 1.44 GB, free: 4.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.412, allocations: 2.926 MB / 1.443 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.415, allocations: 491.2 kB / 1.444 GB, free: 1.355 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04743/1.462, allocations: 18.86 MB / 1.462 GB, free: 14.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.468, allocations: 323.7 kB / 1.462 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007015/1.469, allocations: 91.91 kB / 1.462 GB, free: 13.84 MB / 1.154 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.00238/1.471, allocations: 0.7065 MB / 1.463 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.472, allocations: 341.9 kB / 1.463 GB, free: 12.78 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.473, allocations: 388.1 kB / 1.464 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/1.473, allocations: 28 kB / 1.464 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-05/1.473, allocations: 8 kB / 1.464 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/1.473, allocations: 15.94 kB / 1.464 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/1.48, allocations: 3.632 MB / 1.467 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/1.48, allocations: 0 / 1.467 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.483, allocations: 419.3 kB / 1.468 GB, free: 8.246 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/1.494, allocations: 2.865 MB / 1.47 GB, free: 5.371 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005272/1.495, allocations: 47.97 kB / 1.471 GB, free: 5.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04457/1.539, allocations: 18.64 MB / 1.489 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.539, allocations: 0 / 1.489 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/1.56, allocations: 6.116 MB / 1.495 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/1.563, allocations: 0.7095 MB / 1.495 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.564, allocations: 51.98 kB / 1.495 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/1.568, allocations: 315.6 kB / 1.496 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001438/1.57, allocations: 354.7 kB / 1.496 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003793/1.57, allocations: 68.53 kB / 1.496 GB, free: 10.73 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003104/1.573, allocations: 1.536 MB / 1.498 GB, free: 9.195 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.573, allocations: 0 / 1.498 GB, free: 9.195 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004352/1.578, allocations: 1.043 MB / 1.499 GB, free: 8.152 MB / 1.186 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.02146/1.599, allocations: 6.757 MB / 1.505 GB, free: 1.359 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02586/1.625, allocations: 6.312 MB / 1.511 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.625, allocations: 4 kB / 1.511 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01897/1.644, allocations: 3.92 MB / 1.515 GB, free: 6.992 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007043/1.651, allocations: 1.128 MB / 1.516 GB, free: 5.902 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08937/1.74, allocations: 31.81 MB / 1.547 GB, free: 5.625 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/1.744, allocations: 2.231 MB / 1.55 GB, free: 3.359 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002851/1.746, allocations: 0.5019 MB / 1.55 GB, free: 2.852 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.749, allocations: 1.339 MB / 1.551 GB, free: 1.512 MB / 1.232 GB Notification: Performance of SimCode: time 1.333e-06/1.749, allocations: 4 kB / 1.551 GB, free: 1.508 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1941/1.943, allocations: 103.4 MB / 1.652 GB, free: 11.21 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/22.08, allocations: 15.53 kB / 1.652 GB, free: 11.2 MB / 1.342 GB " [Timeout remaining time 278] (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: 28.328119518002495] Failed to read output from testmodel.py, exit status != 0: 22.292832173989154 22.316454603 21.233841543 Calling exit ...