Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.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.001884/0.001884, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 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.002019/0.002019, allocations: 212.9 kB / 23.02 MB, free: 2.957 MB / 13.93 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.644/1.644, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.374/3.374, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003872/0.003872, allocations: 67.91 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7828, allocations: 180 MB / 1.353 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03173/0.8145, allocations: 21.25 MB / 1.374 GB, free: 12.28 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.8453, allocations: 16.84 MB / 1.39 GB, free: 11.39 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.8484, allocations: 174.6 kB / 1.39 GB, free: 11.21 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.8608, allocations: 4.17 MB / 1.394 GB, free: 7.039 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.8729, allocations: 3.583 MB / 1.398 GB, free: 3.449 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.8766, allocations: 1.308 MB / 1.399 GB, free: 2.145 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.8867, allocations: 5.64 MB / 1.405 GB, free: 12.49 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005255/0.8919, allocations: 2.845 MB / 1.407 GB, free: 9.562 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.8978, allocations: 2.749 MB / 1.41 GB, free: 6.805 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.9024, allocations: 2.135 MB / 1.412 GB, free: 4.66 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0008749/0.9032, allocations: 348 kB / 1.412 GB, free: 4.32 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.9056, allocations: 0.9359 MB / 1.413 GB, free: 3.383 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.907, allocations: 1.191 MB / 1.415 GB, free: 2.188 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.9099, allocations: 1.602 MB / 1.416 GB, free: 0.5781 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/0.9178, allocations: 5.113 MB / 1.421 GB, free: 11.45 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.9178, allocations: 0 / 1.421 GB, free: 11.45 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9178, allocations: 0 / 1.421 GB, free: 11.45 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0001301/0.9179, allocations: 0 / 1.421 GB, free: 11.45 MB / 1.104 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.01052/0.9285, allocations: 4.448 MB / 1.425 GB, free: 6.898 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9285, allocations: 8.922 kB / 1.425 GB, free: 6.891 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.9449, allocations: 3.279 MB / 1.429 GB, free: 3.605 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.9503, allocations: 2.147 MB / 1.431 GB, free: 1.387 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.9505, allocations: 177.1 kB / 1.431 GB, free: 1.211 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/0.9512, allocations: 244 kB / 1.431 GB, free: 0.9727 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.9635, allocations: 5.257 MB / 1.436 GB, free: 11.46 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.9635, allocations: 4 kB / 1.436 GB, free: 11.46 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.9639, allocations: 107.9 kB / 1.436 GB, free: 11.35 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004803/0.9643, allocations: 172.8 kB / 1.437 GB, free: 11.18 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.9783, allocations: 5.112 MB / 1.442 GB, free: 6.051 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.9979, allocations: 8.351 MB / 1.45 GB, free: 13.58 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.011, allocations: 3.556 MB / 1.453 GB, free: 10.02 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/1.015, allocations: 1.295 MB / 1.454 GB, free: 8.719 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/1.015, allocations: 21.31 kB / 1.454 GB, free: 8.695 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004751/1.02, allocations: 2.384 MB / 1.457 GB, free: 6.086 MB / 1.135 GB Notification: Performance of pre-optimization done (n=163): time 3.848e-06/1.02, allocations: 0 / 1.457 GB, free: 6.086 MB / 1.135 GB Notification: Performance of matching and sorting (n=250): time 0.1322/1.152, allocations: 27.07 MB / 1.483 GB, free: 10.97 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000379/1.153, allocations: 0.4889 MB / 1.484 GB, free: 10.37 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/1.156, allocations: 2.001 MB / 1.486 GB, free: 8.355 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/1.157, allocations: 77.7 kB / 1.486 GB, free: 8.273 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.159, allocations: 1.466 MB / 1.487 GB, free: 6.797 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.16, allocations: 0.8598 MB / 1.488 GB, free: 5.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.161, allocations: 420.5 kB / 1.488 GB, free: 5.512 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.161, allocations: 305.1 kB / 1.489 GB, free: 5.211 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/1.166, allocations: 1.943 MB / 1.491 GB, free: 3.227 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006016/1.172, allocations: 2.633 MB / 1.493 GB, free: 388 kB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.183, allocations: 3.943 MB / 1.497 GB, free: 12.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.183, allocations: 7.875 kB / 1.497 GB, free: 12.29 MB / 1.182 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01829/1.201, allocations: 6.12 MB / 1.503 GB, free: 6.051 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.201, allocations: 152.4 kB / 1.503 GB, free: 5.871 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.201, allocations: 8 kB / 1.503 GB, free: 5.863 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008765/1.21, allocations: 2.005 MB / 1.505 GB, free: 3.852 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/1.213, allocations: 0.4992 MB / 1.506 GB, free: 3.352 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/1.245, allocations: 15.46 MB / 1.521 GB, free: 3.727 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.249, allocations: 315.6 kB / 1.521 GB, free: 3.418 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/1.249, allocations: 87.97 kB / 1.521 GB, free: 3.332 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006529/1.256, allocations: 2.497 MB / 1.524 GB, free: 0.7969 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00574/1.262, allocations: 2.629 MB / 1.526 GB, free: 13.95 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01118/1.273, allocations: 3.908 MB / 1.53 GB, free: 9.91 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/1.273, allocations: 4 kB / 1.53 GB, free: 9.906 MB / 1.214 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01832/1.291, allocations: 6.015 MB / 1.536 GB, free: 3.77 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.291, allocations: 152.5 kB / 1.536 GB, free: 3.59 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.291, allocations: 4 kB / 1.536 GB, free: 3.586 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/1.299, allocations: 1.892 MB / 1.538 GB, free: 1.688 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/1.302, allocations: 0.4953 MB / 1.538 GB, free: 1.191 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/1.332, allocations: 14.99 MB / 1.553 GB, free: 1.984 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.335, allocations: 307.6 kB / 1.553 GB, free: 1.684 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.336, allocations: 88.53 kB / 1.553 GB, free: 1.598 MB / 1.229 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0006843/1.336, allocations: 318.5 kB / 1.554 GB, free: 1.277 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/1.337, allocations: 318 kB / 1.554 GB, free: 0.9648 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.338, allocations: 389.2 kB / 1.554 GB, free: 0.5742 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.338, allocations: 24 kB / 1.554 GB, free: 0.5508 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/1.338, allocations: 8 kB / 1.554 GB, free: 0.543 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/1.338, allocations: 19.88 kB / 1.554 GB, free: 0.5234 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/1.342, allocations: 2.354 MB / 1.557 GB, free: 14.13 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.342, allocations: 3.938 kB / 1.557 GB, free: 14.13 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.345, allocations: 435.4 kB / 1.557 GB, free: 13.7 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007227/1.352, allocations: 1.813 MB / 1.559 GB, free: 11.88 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/1.352, allocations: 47.97 kB / 1.559 GB, free: 11.84 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02893/1.381, allocations: 15.09 MB / 1.574 GB, free: 12.54 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.381, allocations: 0 / 1.574 GB, free: 12.54 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/1.398, allocations: 5.498 MB / 1.579 GB, free: 7.012 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.4, allocations: 0.5915 MB / 1.58 GB, free: 6.418 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/1.401, allocations: 51.94 kB / 1.58 GB, free: 6.367 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/1.403, allocations: 303.6 kB / 1.58 GB, free: 6.07 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009623/1.404, allocations: 302.4 kB / 1.58 GB, free: 5.766 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.405, allocations: 71.97 kB / 1.58 GB, free: 5.695 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.002464/1.407, allocations: 1.313 MB / 1.582 GB, free: 4.375 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.1e-07/1.407, allocations: 0 / 1.582 GB, free: 4.375 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.004228/1.411, allocations: 1.664 MB / 1.583 GB, free: 2.711 MB / 1.26 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/1.412, allocations: 175 kB / 1.583 GB, free: 2.527 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.02459/1.436, allocations: 9.432 MB / 1.593 GB, free: 8.855 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.436, allocations: 0 / 1.593 GB, free: 8.855 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.008537/1.445, allocations: 3.248 MB / 1.596 GB, free: 5.578 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.449, allocations: 1.024 MB / 1.597 GB, free: 4.594 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.465, allocations: 6.658 MB / 1.603 GB, free: 13.91 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/1.467, allocations: 1.757 MB / 1.605 GB, free: 12.1 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.002964/1.47, allocations: 0.6011 MB / 1.606 GB, free: 11.5 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/1.471, allocations: 171.4 kB / 1.606 GB, free: 11.33 MB / 1.292 GB Notification: Performance of SimCode: time 9.22e-07/1.471, allocations: 4 kB / 1.606 GB, free: 11.32 MB / 1.292 GB Notification: Performance of Templates: time 0.1478/1.619, allocations: 85.2 MB / 1.689 GB, free: 7.398 MB / 1.37 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.636668846942484]