Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001397, 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.002061/0.002061, allocations: 190.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 222 MB, free: 5.012 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6071/0.6071, allocations: 95.48 MB / 364.8 MB, free: 10.14 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 67.91 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4102, allocations: 69.06 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00251/0.4127, allocations: 1.475 MB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.413, allocations: 76.39 kB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.4131, allocations: 3.938 kB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.4131, allocations: 3.938 kB / 0.5032 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.4132, allocations: 0 / 0.5032 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.4133, allocations: 11.98 kB / 0.5032 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.662e-05/0.4134, allocations: 27.92 kB / 0.5032 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.4135, allocations: 4 kB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.4135, allocations: 11.98 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.4136, allocations: 11.92 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4136, allocations: 0 / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.4137, allocations: 15.98 kB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.4137, allocations: 11.92 kB / 0.5033 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.4137, allocations: 7.938 kB / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4138, allocations: 31.95 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4138, allocations: 0 / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4138, allocations: 7.938 kB / 0.5033 GB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4139, allocations: 0 / 0.5033 GB, free: 15.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004228/0.4143, allocations: 349.3 kB / 0.5037 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4143, allocations: 11.98 kB / 0.5037 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.4145, allocations: 16.83 kB / 0.5037 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.4146, allocations: 164.4 kB / 0.5039 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4146, allocations: 384 / 0.5039 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4146, allocations: 7.875 kB / 0.5039 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4148, allocations: 65.66 kB / 0.5039 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4148, allocations: 0 / 0.5039 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4149, allocations: 0 / 0.5039 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4149, allocations: 0 / 0.5039 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.4151, allocations: 43.95 kB / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.4154, allocations: 280.8 kB / 0.5042 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.4156, allocations: 50.53 kB / 0.5043 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4157, allocations: 28.89 kB / 0.5043 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4157, allocations: 0 / 0.5043 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4157, allocations: 34.56 kB / 0.5044 GB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4158, allocations: 4 kB / 0.5044 GB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003719/0.4161, allocations: 105.5 kB / 0.5045 GB, free: 14.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4162, allocations: 51.41 kB / 0.5045 GB, free: 14.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.4162, allocations: 105.8 kB / 0.5046 GB, free: 14.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.4162, allocations: 25.83 kB / 0.5046 GB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.4163, allocations: 92.14 kB / 0.5047 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.4163, allocations: 3.906 kB / 0.5047 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.4163, allocations: 13.72 kB / 0.5047 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.4164, allocations: 322.8 kB / 0.505 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4165, allocations: 19.98 kB / 0.5051 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.4166, allocations: 23.97 kB / 0.5051 GB, free: 13.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4168, allocations: 52.88 kB / 0.5051 GB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4168, allocations: 0 / 0.5051 GB, free: 13.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.417, allocations: 85.58 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.417, allocations: 4 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.417, allocations: 4.031 kB / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.417, allocations: 0 / 0.5052 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4172, allocations: 11.98 kB / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4172, allocations: 0 / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.4172, allocations: 8.234 kB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4172, allocations: 11.94 kB / 0.5053 GB, free: 13.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.4173, allocations: 113.8 kB / 0.5054 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.4173, allocations: 3.906 kB / 0.5054 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.4174, allocations: 15.48 kB / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4174, allocations: 0 / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4174, allocations: 0 / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4174, allocations: 0 / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.4175, allocations: 169.6 kB / 0.5055 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4175, allocations: 0 / 0.5055 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.4176, allocations: 11.98 kB / 0.5056 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.4176, allocations: 0 / 0.5056 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4176, allocations: 3.938 kB / 0.5056 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4176, allocations: 3.938 kB / 0.5056 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4176, allocations: 7.984 kB / 0.5056 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.4179, allocations: 171.5 kB / 0.5057 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.4179, allocations: 81.05 kB / 0.5058 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4179, allocations: 0 / 0.5058 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.418, allocations: 16.02 kB / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.4181, allocations: 7.984 kB / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4181, allocations: 0 / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.4181, allocations: 79.28 kB / 0.5059 GB, free: 12.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4181, allocations: 0 / 0.5059 GB, free: 12.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.4183, allocations: 11.94 kB / 0.5059 GB, free: 12.95 MB / 382.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.725e-05/0.4184, allocations: 95.25 kB / 0.506 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.4187, allocations: 59.88 kB / 0.5061 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4187, allocations: 0 / 0.5061 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.4188, allocations: 23.98 kB / 0.5061 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4191, allocations: 10.64 kB / 0.5061 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.4194, allocations: 131.3 kB / 0.5062 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.4195, allocations: 0.677 MB / 0.5069 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.4195, allocations: 4 kB / 0.5069 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4196, allocations: 7.438 kB / 0.5069 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4196, allocations: 0 / 0.5069 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002026/0.4216, allocations: 0.5043 MB / 0.5074 GB, free: 11.38 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)