Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001791/0.001791, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001969/0.001969, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",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.002175/0.002175, allocations: 70.22 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.366, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02908/0.3951, allocations: 21.27 MB / 1.384 GB, free: 8.777 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02793/0.423, allocations: 16.84 MB / 1.401 GB, free: 7.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004001/0.427, allocations: 174.6 kB / 1.401 GB, free: 7.715 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.439, allocations: 4.167 MB / 1.405 GB, free: 3.539 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.451, allocations: 3.586 MB / 1.408 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.4552, allocations: 1.312 MB / 1.41 GB, free: 14.64 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009725/0.4649, allocations: 5.789 MB / 1.415 GB, free: 8.824 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005886/0.4708, allocations: 2.834 MB / 1.418 GB, free: 5.914 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.4768, allocations: 2.827 MB / 1.421 GB, free: 3.078 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004669/0.4815, allocations: 2.143 MB / 1.423 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.4829, allocations: 368 kB / 1.423 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.486, allocations: 0.9516 MB / 1.424 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.4879, allocations: 1.211 MB / 1.425 GB, free: 14.4 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.4913, allocations: 1.637 MB / 1.427 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008552/0.4998, allocations: 5.195 MB / 1.432 GB, free: 7.539 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4998, allocations: 0 / 1.432 GB, free: 7.539 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4998, allocations: 3.938 kB / 1.432 GB, free: 7.535 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002068/0.5, allocations: 0 / 1.432 GB, free: 7.535 MB / 1.123 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.01152/0.5116, allocations: 4.639 MB / 1.437 GB, free: 2.797 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5116, allocations: 12.03 kB / 1.437 GB, free: 2.785 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006357/0.5123, allocations: 358.3 kB / 1.437 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/0.5283, allocations: 3.283 MB / 1.44 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.5336, allocations: 2.155 MB / 1.442 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004666/0.534, allocations: 470 kB / 1.443 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007457/0.5348, allocations: 232 kB / 1.443 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.5468, allocations: 5.363 MB / 1.448 GB, free: 6.539 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.5469, allocations: 3.938 kB / 1.448 GB, free: 6.535 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.5472, allocations: 104 kB / 1.448 GB, free: 6.434 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.5474, allocations: 172.8 kB / 1.448 GB, free: 6.262 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.5619, allocations: 5.191 MB / 1.454 GB, free: 1.055 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/0.5838, allocations: 9.174 MB / 1.462 GB, free: 7.75 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.594, allocations: 3.25 MB / 1.466 GB, free: 4.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/0.598, allocations: 1.369 MB / 1.467 GB, free: 3.121 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.5982, allocations: 21.3 kB / 1.467 GB, free: 3.102 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005072/0.6032, allocations: 2.45 MB / 1.469 GB, free: 432 kB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 3.898e-06/0.6032, allocations: 0 / 1.469 GB, free: 432 kB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1322/0.7354, allocations: 27.54 MB / 1.496 GB, free: 4.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003353/0.7358, allocations: 0.4889 MB / 1.497 GB, free: 4.234 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.7394, allocations: 2.327 MB / 1.499 GB, free: 1.895 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.7398, allocations: 81.64 kB / 1.499 GB, free: 1.809 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.7414, allocations: 1.456 MB / 1.501 GB, free: 348 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.7425, allocations: 0.86 MB / 1.501 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009137/0.7434, allocations: 416.5 kB / 1.502 GB, free: 15.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7435, allocations: 301.1 kB / 1.502 GB, free: 14.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005936/0.7495, allocations: 2.07 MB / 1.504 GB, free: 12.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006742/0.7562, allocations: 2.77 MB / 1.507 GB, free: 9.668 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.7683, allocations: 4.161 MB / 1.511 GB, free: 5.371 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.7683, allocations: 0 / 1.511 GB, free: 5.371 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02072/0.7891, allocations: 6.627 MB / 1.517 GB, free: 14.62 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.7892, allocations: 148.5 kB / 1.517 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.7892, allocations: 4 kB / 1.517 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.8, allocations: 2.925 MB / 1.52 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.8031, allocations: 491.2 kB / 1.521 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04438/0.8475, allocations: 18.28 MB / 1.539 GB, free: 8.555 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/0.8517, allocations: 323.6 kB / 1.539 GB, free: 8.238 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/0.8522, allocations: 91.97 kB / 1.539 GB, free: 8.148 MB / 1.232 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.001732/0.8539, allocations: 0.708 MB / 1.54 GB, free: 7.434 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008152/0.8547, allocations: 345.8 kB / 1.54 GB, free: 7.094 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008493/0.8556, allocations: 388.1 kB / 1.54 GB, free: 6.707 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.8556, allocations: 24.19 kB / 1.54 GB, free: 6.684 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/0.8556, allocations: 16 kB / 1.54 GB, free: 6.668 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.8557, allocations: 15.89 kB / 1.54 GB, free: 6.652 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.8606, allocations: 3.043 MB / 1.543 GB, free: 3.562 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.8606, allocations: 4 kB / 1.543 GB, free: 3.559 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/0.8632, allocations: 415.4 kB / 1.544 GB, free: 3.152 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/0.8736, allocations: 2.863 MB / 1.547 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/0.874, allocations: 51.97 kB / 1.547 GB, free: 228 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04289/0.9169, allocations: 18.07 MB / 1.564 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9169, allocations: 0 / 1.564 GB, free: 13.91 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/0.9364, allocations: 6.116 MB / 1.57 GB, free: 7.77 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/0.9389, allocations: 0.6342 MB / 1.571 GB, free: 7.133 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009492/0.9399, allocations: 47.94 kB / 1.571 GB, free: 7.086 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/0.9436, allocations: 315.6 kB / 1.571 GB, free: 6.777 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/0.9449, allocations: 366.5 kB / 1.572 GB, free: 6.418 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/0.9451, allocations: 67.97 kB / 1.572 GB, free: 6.352 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002562/0.9477, allocations: 1.536 MB / 1.573 GB, free: 4.816 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9477, allocations: 0 / 1.573 GB, free: 4.816 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003254/0.9509, allocations: 1.043 MB / 1.574 GB, free: 3.773 MB / 1.264 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.01982/0.9707, allocations: 6.741 MB / 1.581 GB, free: 12.99 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.025/0.9957, allocations: 6.469 MB / 1.587 GB, free: 6.398 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.9958, allocations: 4 kB / 1.587 GB, free: 6.395 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01857/1.014, allocations: 3.92 MB / 1.591 GB, free: 2.445 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/1.019, allocations: 1.133 MB / 1.592 GB, free: 1.352 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7417/1.761, allocations: 32.36 MB / 1.624 GB, free: 227.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/1.763, allocations: 1.688 MB / 1.625 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002952/1.766, allocations: 0.5024 MB / 1.626 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.768, allocations: 1.342 MB / 1.627 GB, free: 225.9 MB / 1.295 GB Notification: Performance of SimCode: time 2.014e-06/1.768, allocations: 0 / 1.627 GB, free: 225.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1974/1.966, allocations: 107.2 MB / 1.732 GB, free: 146.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/20.12, allocations: 10.81 kB / 1.732 GB, free: 146.6 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 27.082849115598947] Failed to read output from testmodel.py, exit status != 0: 20.30721216602251 20.324206937 19.82076285 Calling exit ...