Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 101.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7634 GB, free: 10.95 MB / 0.6231 GB [Timeout remaining time 86] 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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.108 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.795, allocations: 168.7 MB / 1.272 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008803/0.8038, allocations: 6.391 MB / 1.279 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007195/0.811, allocations: 4.576 MB / 1.283 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.8116, allocations: 27.88 kB / 1.283 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.8141, allocations: 0.9229 MB / 1.284 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.8163, allocations: 0.7852 MB / 1.285 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.8171, allocations: 331.4 kB / 1.285 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.8186, allocations: 1.129 MB / 1.286 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.8194, allocations: 0.5392 MB / 1.287 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/0.8201, allocations: 486.4 kB / 1.287 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000768/0.8208, allocations: 0.5059 MB / 1.288 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.821, allocations: 68 kB / 1.288 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.8215, allocations: 283.5 kB / 1.288 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.8218, allocations: 263 kB / 1.288 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.8222, allocations: 406 kB / 1.289 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.8236, allocations: 1.085 MB / 1.29 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8236, allocations: 4 kB / 1.29 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8236, allocations: 0 / 1.29 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.8236, allocations: 0 / 1.29 GB, free: 2.945 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001991/0.8256, allocations: 1.113 MB / 1.291 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8256, allocations: 8.625 kB / 1.291 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.8288, allocations: 0.6363 MB / 1.291 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.8298, allocations: 0.578 MB / 1.292 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.8298, allocations: 37.69 kB / 1.292 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.8299, allocations: 52.12 kB / 1.292 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.832, allocations: 1.022 MB / 1.293 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.832, allocations: 0 / 1.293 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.8321, allocations: 27.98 kB / 1.293 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/0.8322, allocations: 53.28 kB / 1.293 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.8345, allocations: 1 MB / 1.294 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.8392, allocations: 3.487 MB / 1.298 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.8407, allocations: 478.3 kB / 1.298 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.8413, allocations: 205.2 kB / 1.298 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.8413, allocations: 7.938 kB / 1.298 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.8413, allocations: 46.5 kB / 1.298 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.993e-06/0.8413, allocations: 0 / 1.298 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.00703/0.8484, allocations: 2.023 MB / 1.3 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.8484, allocations: 55.41 kB / 1.3 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.8492, allocations: 0.5782 MB / 1.301 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.8492, allocations: 37.7 kB / 1.301 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.8495, allocations: 360.8 kB / 1.301 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.8496, allocations: 154.6 kB / 1.301 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.8498, allocations: 90.2 kB / 1.301 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.85, allocations: 378.7 kB / 1.302 GB, free: 6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.8507, allocations: 266.9 kB / 1.302 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.8515, allocations: 357.8 kB / 1.302 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.8529, allocations: 0.6225 MB / 1.303 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8529, allocations: 7.938 kB / 1.303 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002508/0.8554, allocations: 0.9237 MB / 1.304 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8554, allocations: 10.19 kB / 1.304 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.8554, allocations: 4 kB / 1.304 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.8566, allocations: 277.1 kB / 1.304 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.8572, allocations: 111.8 kB / 1.304 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.8659, allocations: 9.111 MB / 1.313 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.8666, allocations: 48.05 kB / 1.313 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.8666, allocations: 19.98 kB / 1.313 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009603/0.8676, allocations: 441 kB / 1.314 GB, free: 8.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007478/0.8683, allocations: 353.4 kB / 1.314 GB, free: 8.477 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/0.8697, allocations: 0.6054 MB / 1.315 GB, free: 7.828 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.8697, allocations: 4 kB / 1.315 GB, free: 7.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002657/0.8724, allocations: 1.121 MB / 1.316 GB, free: 6.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8724, allocations: 7.938 kB / 1.316 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8724, allocations: 4.344 kB / 1.316 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008397/0.8733, allocations: 217 kB / 1.316 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.8739, allocations: 123.8 kB / 1.316 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.8816, allocations: 8.804 MB / 1.325 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.8823, allocations: 43.94 kB / 1.325 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.8823, allocations: 20 kB / 1.325 GB, free: 12.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.8826, allocations: 208.2 kB / 1.325 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8827, allocations: 67.58 kB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.8829, allocations: 78.38 kB / 1.325 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8829, allocations: 4 kB / 1.325 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.8829, allocations: 4 kB / 1.325 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.8829, allocations: 3.984 kB / 1.325 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.8839, allocations: 0.6493 MB / 1.326 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8839, allocations: 4 kB / 1.326 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.8844, allocations: 87.84 kB / 1.326 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.8855, allocations: 260.8 kB / 1.326 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.8855, allocations: 15.98 kB / 1.326 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/0.8937, allocations: 9.058 MB / 1.335 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8937, allocations: 0 / 1.335 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.8961, allocations: 0.9173 MB / 1.336 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.8965, allocations: 184.6 kB / 1.336 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.8965, allocations: 4 kB / 1.336 GB, free: 48 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.897, allocations: 43.94 kB / 1.336 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.8972, allocations: 43.78 kB / 1.336 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.8972, allocations: 16 kB / 1.336 GB, free: 15.95 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005271/0.8978, allocations: 407.1 kB / 1.336 GB, free: 15.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.8978, allocations: 0 / 1.336 GB, free: 15.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001127/0.8989, allocations: 304 kB / 1.337 GB, free: 15.26 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.899, allocations: 107.2 kB / 1.337 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.9031, allocations: 2.31 MB / 1.339 GB, free: 12.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9031, allocations: 0 / 1.339 GB, free: 12.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.9046, allocations: 0.9884 MB / 1.34 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.9057, allocations: 241.9 kB / 1.34 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.9084, allocations: 1.377 MB / 1.342 GB, free: 9.973 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.9091, allocations: 0.9743 MB / 1.343 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.9093, allocations: 51.42 kB / 1.343 GB, free: 8.922 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.9093, allocations: 0 / 1.343 GB, free: 8.922 MB / 1.045 GB Notification: Performance of Templates: time 0.0336/0.9429, allocations: 27.06 MB / 1.369 GB, free: 13.91 MB / 1.076 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400]