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.001469/0.00147, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001572/0.001572, allocations: 194.5 kB / 16.25 MB, free: 6.145 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.551/1.551, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.671/0.671, allocations: 95.47 MB / 364.9 MB, free: 10.04 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.001306/0.001306, allocations: 67.91 kB / 444.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 69.08 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002503/0.379, allocations: 1.465 MB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.3792, allocations: 76.33 kB / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.3793, allocations: 0 / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.3793, allocations: 0 / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.3794, allocations: 3.938 kB / 0.5034 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3797, allocations: 15.98 kB / 0.5034 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.3797, allocations: 27.86 kB / 0.5034 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3798, allocations: 7.984 kB / 0.5034 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.3799, allocations: 11.98 kB / 0.5035 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.3799, allocations: 15.92 kB / 0.5035 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.38, allocations: 4 kB / 0.5035 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.38, allocations: 15.98 kB / 0.5035 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.38, allocations: 4 kB / 0.5035 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.3801, allocations: 7.938 kB / 0.5035 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3802, allocations: 39.88 kB / 0.5035 GB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3802, allocations: 4 kB / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3802, allocations: 0 / 0.5035 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3802, allocations: 0 / 0.5035 GB, free: 15.82 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.0003885/0.3806, allocations: 345.4 kB / 0.5039 GB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3807, allocations: 15.98 kB / 0.5039 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3809, allocations: 16.83 kB / 0.5039 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.381, allocations: 164.3 kB / 0.5041 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.381, allocations: 384 / 0.5041 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.381, allocations: 7.938 kB / 0.5041 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3812, allocations: 65.53 kB / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3812, allocations: 0 / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3812, allocations: 4 kB / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3812, allocations: 4 kB / 0.5041 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3814, allocations: 39.95 kB / 0.5042 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3818, allocations: 268.9 kB / 0.5044 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.382, allocations: 54.48 kB / 0.5045 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.3821, allocations: 28.89 kB / 0.5045 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3821, allocations: 4 kB / 0.5045 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.3821, allocations: 30.56 kB / 0.5045 GB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3821, allocations: 0 / 0.5045 GB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003992/0.3825, allocations: 109.5 kB / 0.5046 GB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3825, allocations: 51.41 kB / 0.5047 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.3826, allocations: 109.8 kB / 0.5048 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3826, allocations: 25.7 kB / 0.5048 GB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3827, allocations: 84.14 kB / 0.5049 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3827, allocations: 7.844 kB / 0.5049 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.3827, allocations: 13.84 kB / 0.5049 GB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3828, allocations: 326.8 kB / 0.5052 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.3829, allocations: 19.98 kB / 0.5053 GB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.383, allocations: 27.97 kB / 0.5053 GB, free: 13.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3832, allocations: 48.88 kB / 0.5053 GB, free: 13.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3832, allocations: 0 / 0.5053 GB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.3834, allocations: 81.64 kB / 0.5054 GB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3834, allocations: 4 kB / 0.5054 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3834, allocations: 0 / 0.5054 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3834, allocations: 0 / 0.5054 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3835, allocations: 15.92 kB / 0.5054 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3836, allocations: 4.031 kB / 0.5054 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.3836, allocations: 11.98 kB / 0.5054 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3836, allocations: 0 / 0.5054 GB, free: 13.65 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 6.977e-05/0.3837, allocations: 113.8 kB / 0.5055 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.3837, allocations: 7.906 kB / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.3838, allocations: 7.484 kB / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3838, allocations: 0 / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3838, allocations: 0 / 0.5056 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3838, allocations: 3.938 kB / 0.5056 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3839, allocations: 173.6 kB / 0.5057 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.384, allocations: 0 / 0.5057 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.384, allocations: 15.92 kB / 0.5057 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.384, allocations: 0 / 0.5057 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3841, allocations: 3.984 kB / 0.5058 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3841, allocations: 0 / 0.5058 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3841, allocations: 0 / 0.5058 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3843, allocations: 183.4 kB / 0.5059 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3843, allocations: 85.05 kB / 0.506 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3843, allocations: 3.984 kB / 0.506 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.3844, allocations: 8 kB / 0.506 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3845, allocations: 4.234 kB / 0.506 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3845, allocations: 0 / 0.506 GB, free: 12.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.3845, allocations: 87.28 kB / 0.5061 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 4.031 kB / 0.5061 GB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.3847, allocations: 11.94 kB / 0.5061 GB, free: 12.86 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 9.026e-05/0.3848, allocations: 95.25 kB / 0.5062 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3851, allocations: 51.94 kB / 0.5063 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3851, allocations: 0 / 0.5063 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.3852, allocations: 31.98 kB / 0.5063 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3855, allocations: 9.953 kB / 0.5063 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.3858, allocations: 129.4 kB / 0.5064 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3859, allocations: 0.6768 MB / 0.5071 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.386, allocations: 4.062 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.386, allocations: 7.438 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.386, allocations: 0 / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Templates: time 0.002281/0.3883, allocations: 0.5187 MB / 0.5076 GB, free: 11.28 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)