Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00147/0.00147, allocations: 109.8 kB / 16.4 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.001524/0.001524, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7171 GB, free: 4.07 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8549, allocations: 151.6 MB / 1.175 GB, free: 17.51 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02215/0.8771, allocations: 22.63 MB / 1.197 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02895/0.9061, allocations: 17.63 MB / 1.214 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.9099, allocations: 115.1 kB / 1.214 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.9215, allocations: 4.177 MB / 1.218 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.9344, allocations: 3.512 MB / 1.222 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.9386, allocations: 1.317 MB / 1.223 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.9492, allocations: 5.779 MB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008013/0.9572, allocations: 3.589 MB / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.9632, allocations: 2.402 MB / 1.234 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006147/0.9694, allocations: 2.446 MB / 1.237 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002453/0.9719, allocations: 372.2 kB / 1.237 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.9772, allocations: 1.03 MB / 1.238 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.9804, allocations: 1.201 MB / 1.239 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006833/0.9872, allocations: 1.986 MB / 1.241 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/1, allocations: 5.196 MB / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1, allocations: 0 / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/1, allocations: 0 / 1.246 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002533/1.001, allocations: 1.125 kB / 1.246 GB, free: 14.68 MB / 0.9669 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.01509/1.016, allocations: 4.721 MB / 1.251 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.016, allocations: 8.625 kB / 1.251 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/1.017, allocations: 378.2 kB / 1.251 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/1.033, allocations: 3.279 MB / 1.255 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/1.038, allocations: 2.25 MB / 1.257 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/1.039, allocations: 474 kB / 1.257 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007548/1.04, allocations: 232 kB / 1.257 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/1.052, allocations: 4.814 MB / 1.262 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.686e-05/1.052, allocations: 0 / 1.262 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/1.052, allocations: 108 kB / 1.262 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/1.052, allocations: 168.8 kB / 1.262 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/1.067, allocations: 5.194 MB / 1.267 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/1.093, allocations: 14.41 MB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.104, allocations: 3.392 MB / 1.285 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/1.108, allocations: 1.467 MB / 1.286 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/1.109, allocations: 29.28 kB / 1.286 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005117/1.114, allocations: 1.793 MB / 1.288 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=163): time 4.779e-06/1.114, allocations: 0 / 1.288 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=250): time 0.1355/1.249, allocations: 28.31 MB / 1.316 GB, free: 6.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003351/1.25, allocations: 0.4928 MB / 1.316 GB, free: 5.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/1.254, allocations: 2.296 MB / 1.318 GB, free: 3.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.254, allocations: 73.7 kB / 1.318 GB, free: 3.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.256, allocations: 1.456 MB / 1.32 GB, free: 2.113 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.257, allocations: 0.8598 MB / 1.321 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/1.258, allocations: 412.5 kB / 1.321 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.259, allocations: 309.1 kB / 1.321 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/1.264, allocations: 1.925 MB / 1.323 GB, free: 14.6 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006138/1.271, allocations: 2.235 MB / 1.326 GB, free: 12.28 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.282, allocations: 4.161 MB / 1.33 GB, free: 7.984 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.283, allocations: 7.938 kB / 1.33 GB, free: 7.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02102/1.304, allocations: 6.557 MB / 1.336 GB, free: 1.332 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/1.304, allocations: 148.5 kB / 1.336 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.304, allocations: 11.97 kB / 1.336 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.314, allocations: 2.922 MB / 1.339 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.318, allocations: 491.2 kB / 1.339 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04487/1.362, allocations: 18.86 MB / 1.358 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/1.367, allocations: 319.6 kB / 1.358 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005476/1.368, allocations: 87.97 kB / 1.358 GB, free: 10.23 MB / 1.076 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.001772/1.369, allocations: 0.7065 MB / 1.359 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/1.37, allocations: 349.8 kB / 1.359 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/1.371, allocations: 388.1 kB / 1.36 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.371, allocations: 24 kB / 1.36 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.395e-05/1.371, allocations: 8 kB / 1.36 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.371, allocations: 11.95 kB / 1.36 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/1.377, allocations: 3.616 MB / 1.363 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.377, allocations: 4 kB / 1.363 GB, free: 5.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.38, allocations: 423.3 kB / 1.364 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009893/1.389, allocations: 2.868 MB / 1.366 GB, free: 1.766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004638/1.39, allocations: 51.97 kB / 1.366 GB, free: 1.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04092/1.431, allocations: 18.64 MB / 1.385 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.431, allocations: 0 / 1.385 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.45, allocations: 6.186 MB / 1.391 GB, free: 8.566 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.452, allocations: 0.7173 MB / 1.391 GB, free: 7.828 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/1.452, allocations: 51.92 kB / 1.391 GB, free: 7.777 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/1.456, allocations: 311.6 kB / 1.392 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/1.457, allocations: 355.3 kB / 1.392 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.457, allocations: 67.97 kB / 1.392 GB, free: 7.059 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002274/1.459, allocations: 1.532 MB / 1.394 GB, free: 5.527 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.459, allocations: 0 / 1.394 GB, free: 5.527 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002952/1.462, allocations: 1.047 MB / 1.395 GB, free: 4.48 MB / 1.107 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.0192/1.482, allocations: 6.831 MB / 1.401 GB, free: 13.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02457/1.506, allocations: 6.484 MB / 1.408 GB, free: 7.039 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/1.506, allocations: 8 kB / 1.408 GB, free: 7.031 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/1.525, allocations: 4.06 MB / 1.412 GB, free: 2.938 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/1.531, allocations: 1.136 MB / 1.413 GB, free: 1.844 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0788/1.609, allocations: 31.96 MB / 1.444 GB, free: 1.41 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/1.612, allocations: 2.231 MB / 1.446 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002726/1.615, allocations: 0.5099 MB / 1.447 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/1.618, allocations: 1.343 MB / 1.448 GB, free: 13.29 MB / 1.17 GB Notification: Performance of SimCode: time 8.71e-07/1.618, allocations: 0 / 1.448 GB, free: 13.29 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1818/1.799, allocations: 102.7 MB / 1.548 GB, free: 7.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/21.6, allocations: 18.33 kB / 1.548 GB, free: 7.484 MB / 1.264 GB " [Timeout remaining time 278] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 27.531742489896715] Failed to read output from testmodel.py, exit status != 0: 21.753729139920324 21.768504065 20.765457425 Calling exit ...