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.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.001263/0.001263, allocations: 105.4 kB / 16.45 MB, free: 6.504 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.001261/0.001261, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.635/2.635, allocations: 476.7 MB / 0.7611 GB, free: 11.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(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 0.001975/0.001975, allocations: 71.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.783, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.028/0.811, allocations: 22.94 MB / 1.291 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.8378, allocations: 17.79 MB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.8407, allocations: 115.4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.8518, allocations: 4.225 MB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.8623, allocations: 3.586 MB / 1.316 GB, free: 4.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.8657, allocations: 1.309 MB / 1.318 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008505/0.8742, allocations: 5.775 MB / 1.323 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.8788, allocations: 2.8 MB / 1.326 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004747/0.8836, allocations: 2.484 MB / 1.328 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.8885, allocations: 2.502 MB / 1.331 GB, free: 5.387 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.8896, allocations: 368 kB / 1.331 GB, free: 5.027 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.8921, allocations: 1.057 MB / 1.332 GB, free: 3.969 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.8937, allocations: 1.219 MB / 1.333 GB, free: 2.746 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.8968, allocations: 2.002 MB / 1.335 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007845/0.9046, allocations: 5.191 MB / 1.34 GB, free: 11.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.9046, allocations: 0 / 1.34 GB, free: 11.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9046, allocations: 0 / 1.34 GB, free: 11.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001829/0.9048, allocations: 0 / 1.34 GB, free: 11.52 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.01231/0.9171, allocations: 4.728 MB / 1.345 GB, free: 6.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9171, allocations: 8.031 kB / 1.345 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008632/0.918, allocations: 362.3 kB / 1.345 GB, free: 6.309 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.9333, allocations: 3.279 MB / 1.349 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.9387, allocations: 2.254 MB / 1.351 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/0.9392, allocations: 474 kB / 1.351 GB, free: 180 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007152/0.9399, allocations: 236 kB / 1.351 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.951, allocations: 4.81 MB / 1.356 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/0.951, allocations: 3.938 kB / 1.356 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.9514, allocations: 104 kB / 1.356 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.9516, allocations: 168.8 kB / 1.356 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.9644, allocations: 5.191 MB / 1.361 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.9892, allocations: 14.42 MB / 1.376 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009882/0.9991, allocations: 3.259 MB / 1.379 GB, free: 2.645 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/1.004, allocations: 1.377 MB / 1.38 GB, free: 1.266 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.005, allocations: 25.28 kB / 1.38 GB, free: 1.238 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006599/1.011, allocations: 1.794 MB / 1.382 GB, free: 15.38 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 6.672e-06/1.011, allocations: 0 / 1.382 GB, free: 15.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1385/1.15, allocations: 28.21 MB / 1.409 GB, free: 2.949 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004157/1.15, allocations: 0.4928 MB / 1.41 GB, free: 2.348 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/1.155, allocations: 2.304 MB / 1.412 GB, free: 32 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000708/1.156, allocations: 73.78 kB / 1.412 GB, free: 15.95 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.158, allocations: 1.46 MB / 1.414 GB, free: 14.48 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.16, allocations: 0.8559 MB / 1.414 GB, free: 13.62 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/1.161, allocations: 416.5 kB / 1.415 GB, free: 13.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.162, allocations: 301.1 kB / 1.415 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007759/1.169, allocations: 1.933 MB / 1.417 GB, free: 10.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/1.178, allocations: 2.227 MB / 1.419 GB, free: 8.656 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/1.194, allocations: 4.177 MB / 1.423 GB, free: 4.344 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.194, allocations: 0 / 1.423 GB, free: 4.344 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02881/1.222, allocations: 6.475 MB / 1.43 GB, free: 13.78 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/1.223, allocations: 148.5 kB / 1.43 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.223, allocations: 4 kB / 1.43 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/1.238, allocations: 2.926 MB / 1.433 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.242, allocations: 491.2 kB / 1.433 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04243/1.284, allocations: 18.85 MB / 1.452 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/1.288, allocations: 323.6 kB / 1.452 GB, free: 6.762 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/1.289, allocations: 92.16 kB / 1.452 GB, free: 6.672 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.001742/1.291, allocations: 0.7104 MB / 1.453 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007822/1.291, allocations: 353.8 kB / 1.453 GB, free: 5.605 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/1.292, allocations: 388.1 kB / 1.453 GB, free: 5.219 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.292, allocations: 24 kB / 1.453 GB, free: 5.195 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/1.292, allocations: 8 kB / 1.453 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.292, allocations: 15.95 kB / 1.453 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/1.298, allocations: 3.624 MB / 1.457 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.298, allocations: 4 kB / 1.457 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.3, allocations: 419.3 kB / 1.457 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009755/1.31, allocations: 2.868 MB / 1.46 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004376/1.31, allocations: 47.97 kB / 1.46 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03992/1.35, allocations: 18.63 MB / 1.478 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.35, allocations: 0 / 1.478 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.368, allocations: 6.112 MB / 1.484 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.37, allocations: 0.7096 MB / 1.485 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007894/1.371, allocations: 51.92 kB / 1.485 GB, free: 4.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.374, allocations: 311.6 kB / 1.485 GB, free: 4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.376, allocations: 354.7 kB / 1.486 GB, free: 3.652 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.376, allocations: 75.97 kB / 1.486 GB, free: 3.578 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002653/1.379, allocations: 1.54 MB / 1.487 GB, free: 2.039 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.379, allocations: 0 / 1.487 GB, free: 2.039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003642/1.382, allocations: 1.047 MB / 1.488 GB, free: 0.9922 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.01955/1.402, allocations: 6.737 MB / 1.495 GB, free: 10.21 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.425, allocations: 6.32 MB / 1.501 GB, free: 3.797 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.425, allocations: 7.938 kB / 1.501 GB, free: 3.789 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01673/1.441, allocations: 3.924 MB / 1.505 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00591/1.447, allocations: 1.137 MB / 1.506 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08523/1.533, allocations: 31.82 MB / 1.537 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/1.536, allocations: 2.227 MB / 1.539 GB, free: 12.19 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002727/1.538, allocations: 0.5099 MB / 1.54 GB, free: 11.67 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.541, allocations: 1.339 MB / 1.541 GB, free: 10.33 MB / 1.248 GB Notification: Performance of SimCode: time 1.563e-06/1.541, allocations: 0 / 1.541 GB, free: 10.33 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8389/2.38, allocations: 103.3 MB / 1.642 GB, free: 294 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/21.79, allocations: 6.328 kB / 1.642 GB, free: 294 MB / 1.295 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: 27.71390635613352] Failed to read output from testmodel.py, exit status != 0: 21.94547605374828 21.96096176 21.052941769 Calling exit ...