Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.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.001196/0.001196, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001426/0.001426, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001719/0.001719, allocations: 256.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7718/0.7718, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0.5156 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.368e-05, allocations: 4.359 kB / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.0061/0.006123, allocations: 4.703 MB / 467 MB, free: 13.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.01162, allocations: 3.493 MB / 470.5 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.01209, allocations: 31.75 kB / 470.6 MB, free: 10.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007102/0.0128, allocations: 220 kB / 470.8 MB, free: 10.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.01436, allocations: 0.7127 MB / 471.5 MB, free: 9.453 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.01489, allocations: 320.6 kB / 471.8 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.01606, allocations: 1.184 MB / 473 MB, free: 7.965 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.01674, allocations: 0.5937 MB / 473.6 MB, free: 7.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.01753, allocations: 0.7081 MB / 474.3 MB, free: 6.668 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.01807, allocations: 416.9 kB / 474.7 MB, free: 6.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.01816, allocations: 69.06 kB / 474.8 MB, free: 6.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.01843, allocations: 139.9 kB / 474.9 MB, free: 6.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.01861, allocations: 267.2 kB / 475.2 MB, free: 5.797 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.01884, allocations: 287.9 kB / 475.4 MB, free: 5.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.01953, allocations: 0.6578 MB / 476.1 MB, free: 4.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01953, allocations: 0 / 476.1 MB, free: 4.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01953, allocations: 0.9688 kB / 476.1 MB, free: 4.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.01954, allocations: 3.938 kB / 476.1 MB, free: 4.855 MB / 426.7 MB 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.001463/0.02101, allocations: 0.9695 MB / 477.1 MB, free: 3.863 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.02104, allocations: 14.56 kB / 477.1 MB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.02228, allocations: 417.9 kB / 477.5 MB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.02282, allocations: 470.1 kB / 478 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.02284, allocations: 35.38 kB / 478 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.0229, allocations: 60.34 kB / 478.1 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.02375, allocations: 0.7372 MB / 478.8 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.02376, allocations: 3.938 kB / 478.8 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.0238, allocations: 20.72 kB / 478.8 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.02385, allocations: 49.28 kB / 478.9 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.02414, allocations: 211.8 kB / 479.1 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.02592, allocations: 1.708 MB / 480.8 MB, free: 48 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.02635, allocations: 224 kB / 481 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.02643, allocations: 66.27 kB / 481.1 MB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.02646, allocations: 8 kB / 481.1 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.02648, allocations: 35.09 kB / 481.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.02648, allocations: 0 / 481.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.000897/0.02738, allocations: 478.7 kB / 481.6 MB, free: 15.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.0274, allocations: 55.41 kB / 481.6 MB, free: 15.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.02767, allocations: 435.1 kB / 482 MB, free: 14.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.02769, allocations: 34.61 kB / 482.1 MB, free: 14.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.02781, allocations: 309.7 kB / 482.4 MB, free: 14.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.02787, allocations: 115 kB / 482.5 MB, free: 14.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.02796, allocations: 77.48 kB / 482.6 MB, free: 14.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.02806, allocations: 370.6 kB / 482.9 MB, free: 13.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.02814, allocations: 46.84 kB / 483 MB, free: 13.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.02825, allocations: 153.2 kB / 483.1 MB, free: 13.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.02847, allocations: 227.4 kB / 483.4 MB, free: 13.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02847, allocations: 1.406 kB / 483.4 MB, free: 13.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004251/0.0289, allocations: 329.9 kB / 483.7 MB, free: 13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02891, allocations: 8 kB / 483.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02892, allocations: 0 / 483.7 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.02927, allocations: 132.3 kB / 483.8 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.02974, allocations: 114.3 kB / 483.9 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.03172, allocations: 3.735 MB / 487.7 MB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.03192, allocations: 43.77 kB / 487.7 MB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.03194, allocations: 12.56 kB / 487.7 MB, free: 8.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001499/0.03209, allocations: 132.7 kB / 487.8 MB, free: 8.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000116/0.03221, allocations: 153.8 kB / 488 MB, free: 8.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002081/0.03241, allocations: 228.8 kB / 488.2 MB, free: 8.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.03242, allocations: 4 kB / 488.2 MB, free: 8.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004373/0.03285, allocations: 317.3 kB / 488.5 MB, free: 7.777 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.03286, allocations: 11.94 kB / 488.5 MB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.03287, allocations: 1.812 kB / 488.5 MB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.03297, allocations: 65.72 kB / 488.6 MB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.03324, allocations: 113.9 kB / 488.7 MB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.03484, allocations: 3.548 MB / 492.3 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.03502, allocations: 36.61 kB / 492.3 MB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.03504, allocations: 28.36 kB / 492.3 MB, free: 3.691 MB / 442.7 MB 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.03515, allocations: 209.3 kB / 492.5 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.0352, allocations: 44.58 kB / 492.6 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.03526, allocations: 61.89 kB / 492.6 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.03526, allocations: 4.75 kB / 492.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.03526, allocations: 1 kB / 492.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.03527, allocations: 4.594 kB / 492.6 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.03557, allocations: 278.2 kB / 492.9 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03557, allocations: 0 / 492.9 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.03577, allocations: 79.44 kB / 493 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.03605, allocations: 124.7 kB / 493.1 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.03606, allocations: 4 kB / 493.1 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.0376, allocations: 3.674 MB / 496.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.0376, allocations: 0 / 496.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.03794, allocations: 351 kB / 497.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.03804, allocations: 68.83 kB / 497.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.03807, allocations: 8.734 kB / 497.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.03822, allocations: 16.48 kB / 497.2 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.03828, allocations: 27.95 kB / 497.3 MB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.0383, allocations: 8.562 kB / 497.3 MB, free: 14.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.03843, allocations: 194.4 kB / 497.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03843, allocations: 0 / 497.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.039, allocations: 327.2 kB / 497.8 MB, free: 13.93 MB / 458.7 MB 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * 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 9.756e-05/0.03909, allocations: 86.55 kB / 497.9 MB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.04007, allocations: 1.002 MB / 498.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.04008, allocations: 4 kB / 498.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.04033, allocations: 454.5 kB / 499.3 MB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.04079, allocations: 210.3 kB / 499.5 MB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.04216, allocations: 1.048 MB / 0.4888 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.04228, allocations: 182.4 kB / 0.489 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.04255, allocations: 85.61 kB / 0.4891 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.04285, allocations: 201.2 kB / 0.4893 GB, free: 10.56 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04285, allocations: 0.625 kB / 0.4893 GB, free: 10.56 MB / 458.7 MB Notification: Performance of Templates: time 0.01364/0.05649, allocations: 10.89 MB / 0.4999 GB, free: 112 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9805803638882935]