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.0008993/0.0008993, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006385/0.006385, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 8.75 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.371, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005727/0.3768, allocations: 2.754 MB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3804, allocations: 1.309 MB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.3806, allocations: 4 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3809, allocations: 35.7 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006475/0.3816, allocations: 143.4 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.3822, allocations: 130.7 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007459/0.383, allocations: 430.8 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.3835, allocations: 237.4 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.3838, allocations: 103.6 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.3842, allocations: 127.5 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.3843, allocations: 12 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.3848, allocations: 207.5 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.385, allocations: 71.75 kB / 1.08 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3852, allocations: 129.2 kB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3858, allocations: 331.2 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3858, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3859, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.3859, allocations: 0 / 1.08 GB, free: 1.523 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.001105/0.387, allocations: 499 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.387, allocations: 8.031 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.3878, allocations: 72.67 kB / 1.081 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.3882, allocations: 244 kB / 1.081 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3882, allocations: 16.69 kB / 1.081 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3883, allocations: 20.38 kB / 1.081 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.3888, allocations: 303.3 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3888, allocations: 0 / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.3889, allocations: 11.98 kB / 1.081 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.3889, allocations: 20.38 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.3893, allocations: 200.9 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3911, allocations: 1.468 MB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.3914, allocations: 171.7 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.3915, allocations: 32.84 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3915, allocations: 0 / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3915, allocations: 38.56 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3915, allocations: 0 / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006082/0.3922, allocations: 235.6 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3922, allocations: 51.41 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3925, allocations: 202.8 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3925, allocations: 25.7 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3926, allocations: 163.6 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3927, allocations: 23.7 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3927, allocations: 25.72 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3929, allocations: 326.8 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.393, allocations: 35.98 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3931, allocations: 96.5 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.3933, allocations: 160.4 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3933, allocations: 0 / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003567/0.3937, allocations: 190 kB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3937, allocations: 9.719 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3937, allocations: 0 / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.3939, allocations: 29.12 kB / 1.084 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3941, allocations: 31.92 kB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3953, allocations: 1.319 MB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3954, allocations: 19.86 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3954, allocations: 8 kB / 1.086 GB, free: 10.93 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.0001578/0.3956, allocations: 141.8 kB / 1.086 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.3956, allocations: 19.75 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3957, allocations: 21.39 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3957, allocations: 8.094 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3957, allocations: 0 / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3957, allocations: 0 / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3963, allocations: 443.2 kB / 1.086 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3963, allocations: 3.984 kB / 1.086 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.3963, allocations: 8.047 kB / 1.086 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-05/0.3964, allocations: 28.83 kB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3965, allocations: 4 kB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.3974, allocations: 1.315 MB / 1.088 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3974, allocations: 8.094 kB / 1.088 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3976, allocations: 212.2 kB / 1.088 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3977, allocations: 96.91 kB / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3978, allocations: 7.938 kB / 1.088 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3979, allocations: 0 / 1.088 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3979, allocations: 7.984 kB / 1.088 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3979, allocations: 8 kB / 1.088 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3981, allocations: 144.9 kB / 1.088 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3981, allocations: 0 / 1.088 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003517/0.3984, allocations: 51.84 kB / 1.088 GB, free: 8.191 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.0001377/0.3986, allocations: 99.25 kB / 1.088 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.399, allocations: 210.7 kB / 1.089 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.399, allocations: 4 kB / 1.089 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3992, allocations: 150.5 kB / 1.089 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3995, allocations: 28.27 kB / 1.089 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007592/0.4003, allocations: 447.7 kB / 1.089 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.4007, allocations: 0.7478 MB / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.4008, allocations: 21.55 kB / 1.09 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.4008, allocations: 15.44 kB / 1.09 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4008, allocations: 0 / 1.09 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of Templates: time 0.004761/0.4056, allocations: 1.676 MB / 1.092 GB, free: 4.754 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)