Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001316, allocations: 192 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.67 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3493, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004923/0.3543, allocations: 3.12 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3564, allocations: 1.329 MB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3566, allocations: 7.938 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.3576, allocations: 307 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3579, allocations: 139.4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3582, allocations: 123.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.3587, allocations: 430.8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.3591, allocations: 164.3 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3592, allocations: 115.5 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3595, allocations: 135.5 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.3596, allocations: 12 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.36, allocations: 219.5 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.3601, allocations: 63.81 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3602, allocations: 107.5 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3607, allocations: 343.2 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3607, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3607, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3607, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008393/0.3615, allocations: 0.5108 MB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3616, allocations: 16.03 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.3622, allocations: 80.58 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.3625, allocations: 245.4 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3625, allocations: 12.75 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.3625, allocations: 16.38 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.363, allocations: 307.3 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.363, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3631, allocations: 12 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.3631, allocations: 16.36 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.3634, allocations: 193 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.365, allocations: 1.472 MB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.3653, allocations: 175.7 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.3653, allocations: 36.84 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3653, allocations: 4 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3654, allocations: 30.56 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3654, allocations: 0 / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005025/0.3659, allocations: 227.6 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3659, allocations: 59.33 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3661, allocations: 202.8 kB / 1.077 GB, free: 384 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3662, allocations: 29.7 kB / 1.077 GB, free: 348 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3663, allocations: 167.6 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3663, allocations: 19.72 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3664, allocations: 33.7 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3665, allocations: 326.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.3666, allocations: 31.98 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3667, allocations: 100.6 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3669, allocations: 152.4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3669, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003211/0.3672, allocations: 194.1 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3673, allocations: 8 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3673, allocations: 0 / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.3675, allocations: 28.84 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3676, allocations: 23.98 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3687, allocations: 1.324 MB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3688, allocations: 23.86 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3688, allocations: 4 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.369, allocations: 152.9 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.369, allocations: 19.75 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3691, allocations: 17.41 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3691, allocations: 3.984 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3691, allocations: 4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.3691, allocations: 0 / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.3696, allocations: 447.2 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3696, allocations: 4 kB / 1.08 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.3697, allocations: 11.98 kB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/0.3698, allocations: 24.84 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3698, allocations: 3.938 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.371, allocations: 1.311 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.371, allocations: 3.938 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3713, allocations: 220.1 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.3713, allocations: 93.03 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3714, allocations: 15.94 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3715, allocations: 7.984 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3715, allocations: 7.984 kB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3716, allocations: 0 / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001597/0.3717, allocations: 148.9 kB / 1.082 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3717, allocations: 0 / 1.082 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003583/0.3721, allocations: 51.84 kB / 1.082 GB, free: 10.94 MB / 0.8419 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.3723, allocations: 99.25 kB / 1.082 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.3727, allocations: 210.5 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3727, allocations: 0 / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3729, allocations: 146.6 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3733, allocations: 38.48 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.374, allocations: 429.4 kB / 1.083 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3743, allocations: 0.7517 MB / 1.084 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.201e-05/0.3744, allocations: 17.55 kB / 1.084 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3745, allocations: 19.44 kB / 1.084 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3745, allocations: 0 / 1.084 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.004544/0.379, allocations: 1.682 MB / 1.086 GB, free: 7.496 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)