Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001754/0.001754, allocations: 106.8 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.001775/0.001775, allocations: 189.9 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.642/1.642, 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 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 489.7 MB / 0.7761 GB, free: 33.69 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 70 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 172.1 MB / 1.295 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00906/0.3367, allocations: 6.382 MB / 1.301 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007693/0.3444, allocations: 4.588 MB / 1.306 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.3451, allocations: 23.88 kB / 1.306 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.3478, allocations: 0.922 MB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.3501, allocations: 0.788 MB / 1.307 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.3509, allocations: 323.4 kB / 1.308 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3525, allocations: 1.136 MB / 1.309 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.3533, allocations: 0.5444 MB / 1.309 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006966/0.354, allocations: 474.4 kB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.3548, allocations: 0.5136 MB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3549, allocations: 72 kB / 1.31 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.3555, allocations: 279.5 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.3558, allocations: 259.1 kB / 1.311 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.3562, allocations: 414 kB / 1.311 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3576, allocations: 1.078 MB / 1.312 GB, free: 9.941 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3576, allocations: 4 kB / 1.312 GB, free: 9.938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3577, allocations: 0 / 1.312 GB, free: 9.938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.3577, allocations: 0 / 1.312 GB, free: 9.938 MB / 1.014 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.002044/0.3597, allocations: 1.113 MB / 1.313 GB, free: 8.773 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3597, allocations: 8.031 kB / 1.313 GB, free: 8.766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.3629, allocations: 0.6362 MB / 1.314 GB, free: 8.129 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.364, allocations: 0.5819 MB / 1.314 GB, free: 7.504 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.364, allocations: 33.69 kB / 1.314 GB, free: 7.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3641, allocations: 60.11 kB / 1.315 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.3662, allocations: 1.022 MB / 1.316 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3662, allocations: 0 / 1.316 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.3663, allocations: 28 kB / 1.316 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.3664, allocations: 45.28 kB / 1.316 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.3688, allocations: 1.004 MB / 1.317 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.3736, allocations: 3.49 MB / 1.32 GB, free: 1.473 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3751, allocations: 483 kB / 1.32 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.3757, allocations: 209.8 kB / 1.321 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.3757, allocations: 4 kB / 1.321 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.3758, allocations: 42.55 kB / 1.321 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.3758, allocations: 4 kB / 1.321 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.007242/0.383, allocations: 2.022 MB / 1.323 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3831, allocations: 55.41 kB / 1.323 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.3839, allocations: 0.5782 MB / 1.323 GB, free: 14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.3839, allocations: 37.64 kB / 1.323 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.3842, allocations: 352.9 kB / 1.324 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3844, allocations: 158.6 kB / 1.324 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3845, allocations: 94.19 kB / 1.324 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3848, allocations: 378.7 kB / 1.324 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.3854, allocations: 258.9 kB / 1.325 GB, free: 12.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/0.3862, allocations: 361.8 kB / 1.325 GB, free: 12.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3876, allocations: 0.6187 MB / 1.325 GB, free: 11.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3876, allocations: 0 / 1.325 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002541/0.3901, allocations: 0.9352 MB / 1.326 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3902, allocations: 8 kB / 1.326 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.3902, allocations: 0 / 1.326 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.3914, allocations: 273.2 kB / 1.327 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.392, allocations: 111.8 kB / 1.327 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008858/0.4009, allocations: 9.109 MB / 1.336 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.4016, allocations: 56 kB / 1.336 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.4016, allocations: 16 kB / 1.336 GB, free: 304 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009758/0.4026, allocations: 437 kB / 1.336 GB, free: 15.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007523/0.4033, allocations: 365.4 kB / 1.336 GB, free: 15.46 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001395/0.4047, allocations: 0.609 MB / 1.337 GB, free: 14.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.4047, allocations: 0 / 1.337 GB, free: 14.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002675/0.4074, allocations: 1.117 MB / 1.338 GB, free: 13.61 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4074, allocations: 12.28 kB / 1.338 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4074, allocations: 4 kB / 1.338 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000878/0.4083, allocations: 221 kB / 1.338 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.409, allocations: 127.8 kB / 1.339 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/0.417, allocations: 8.79 MB / 1.347 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/0.4177, allocations: 47.97 kB / 1.347 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.4178, allocations: 16 kB / 1.347 GB, free: 3.547 MB / 1.045 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.0002839/0.4181, allocations: 220.1 kB / 1.347 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.4183, allocations: 71.58 kB / 1.347 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.4185, allocations: 78.38 kB / 1.348 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4185, allocations: 4 kB / 1.348 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.4185, allocations: 4 kB / 1.348 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4185, allocations: 0 / 1.348 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4195, allocations: 0.6533 MB / 1.348 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4195, allocations: 0 / 1.348 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.4201, allocations: 87.84 kB / 1.348 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.4211, allocations: 256.9 kB / 1.349 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.4212, allocations: 12 kB / 1.349 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/0.4298, allocations: 9.07 MB / 1.357 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4298, allocations: 0 / 1.357 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.4323, allocations: 0.9212 MB / 1.358 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.4327, allocations: 188.6 kB / 1.358 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4328, allocations: 4 kB / 1.358 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.4334, allocations: 39.95 kB / 1.358 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4335, allocations: 39.94 kB / 1.359 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.4336, allocations: 12 kB / 1.359 GB, free: 6.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006178/0.4342, allocations: 403.1 kB / 1.359 GB, free: 6.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4342, allocations: 0 / 1.359 GB, free: 6.543 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001278/0.4355, allocations: 300 kB / 1.359 GB, free: 6.25 MB / 1.061 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.000206/0.4357, allocations: 119.1 kB / 1.359 GB, free: 6.125 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004308/0.44, allocations: 2.306 MB / 1.362 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.44, allocations: 0 / 1.362 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.4415, allocations: 0.992 MB / 1.363 GB, free: 2.594 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4427, allocations: 225.5 kB / 1.363 GB, free: 2.387 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.4458, allocations: 1.388 MB / 1.364 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.4466, allocations: 0.982 MB / 1.365 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4468, allocations: 55.42 kB / 1.365 GB, free: 15.89 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/0.4468, allocations: 0 / 1.365 GB, free: 15.89 MB / 1.076 GB Notification: Performance of Templates: time 0.03497/0.4818, allocations: 27.05 MB / 1.392 GB, free: 4.887 MB / 1.092 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 400]