Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.001729, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.583/1.583, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.6091/0.6091, allocations: 95.48 MB / 365.2 MB, free: 9.902 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.0028/0.0028, allocations: 75.88 kB / 445.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3326, allocations: 69.08 MB / 0.5024 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00159/0.3342, allocations: 0.5515 MB / 0.5029 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.3345, allocations: 83.78 kB / 0.503 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.3345, allocations: 3.938 kB / 0.503 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.3345, allocations: 0 / 0.503 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.3345, allocations: 0 / 0.503 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.3347, allocations: 19.98 kB / 0.503 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.3348, allocations: 4 kB / 0.503 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.3349, allocations: 7.922 kB / 0.503 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.3349, allocations: 11.94 kB / 0.503 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.335, allocations: 3.984 kB / 0.503 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.335, allocations: 0 / 0.503 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.335, allocations: 15.98 kB / 0.5031 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.335, allocations: 0 / 0.5031 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.3351, allocations: 4 kB / 0.5031 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.332e-05/0.3351, allocations: 15.92 kB / 0.5031 GB, free: 16.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3351, allocations: 0 / 0.5031 GB, free: 16.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3352, allocations: 0 / 0.5031 GB, free: 16.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.3352, allocations: 0 / 0.5031 GB, free: 16.67 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.0002358/0.3354, allocations: 327.6 kB / 0.5034 GB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.3354, allocations: 11.98 kB / 0.5034 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3356, allocations: 12.83 kB / 0.5034 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.078e-05/0.3356, allocations: 164.4 kB / 0.5036 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3357, allocations: 4.375 kB / 0.5036 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3357, allocations: 3.938 kB / 0.5036 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.3358, allocations: 40.73 kB / 0.5036 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3358, allocations: 0 / 0.5036 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.3358, allocations: 0 / 0.5036 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3358, allocations: 8 kB / 0.5036 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.3359, allocations: 11.92 kB / 0.5036 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.336, allocations: 155.7 kB / 0.5038 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3361, allocations: 46.48 kB / 0.5038 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.3362, allocations: 20.84 kB / 0.5038 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3362, allocations: 4 kB / 0.5039 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3362, allocations: 30.56 kB / 0.5039 GB, free: 15.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3362, allocations: 0 / 0.5039 GB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.3364, allocations: 57.61 kB / 0.5039 GB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3365, allocations: 51.41 kB / 0.504 GB, free: 15.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.183e-05/0.3365, allocations: 93.86 kB / 0.5041 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.3365, allocations: 29.7 kB / 0.5041 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.3365, allocations: 84.14 kB / 0.5042 GB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3365, allocations: 7.891 kB / 0.5042 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.3366, allocations: 17.72 kB / 0.5042 GB, free: 15.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.3366, allocations: 310.8 kB / 0.5045 GB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.3367, allocations: 7.984 kB / 0.5045 GB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.3367, allocations: 4 kB / 0.5045 GB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.3368, allocations: 28.72 kB / 0.5045 GB, free: 14.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3368, allocations: 4 kB / 0.5045 GB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.105e-05/0.3369, allocations: 53.61 kB / 0.5046 GB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3369, allocations: 8 kB / 0.5046 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3369, allocations: 0 / 0.5046 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3369, allocations: 0 / 0.5046 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.3373, allocations: 43.94 kB / 0.5046 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009642/0.3383, allocations: 1.408 MB / 0.506 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.3383, allocations: 8.031 kB / 0.506 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3383, allocations: 0 / 0.506 GB, free: 13.29 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.3384, allocations: 113.9 kB / 0.5061 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.3384, allocations: 4 kB / 0.5061 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.146e-05/0.3384, allocations: 7.484 kB / 0.5061 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3384, allocations: 0 / 0.5061 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3384, allocations: 4.266 kB / 0.5062 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3384, allocations: 0 / 0.5062 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.714e-05/0.3385, allocations: 153.6 kB / 0.5063 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3385, allocations: 0 / 0.5063 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3388, allocations: 51.92 kB / 0.5063 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3389, allocations: 3.984 kB / 0.5064 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3389, allocations: 0 / 0.5064 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009837/0.3399, allocations: 1.404 MB / 0.5077 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3399, allocations: 0 / 0.5077 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.34, allocations: 84.92 kB / 0.5078 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.34, allocations: 81.11 kB / 0.5079 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-06/0.3401, allocations: 4.062 kB / 0.5079 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.3401, allocations: 4 kB / 0.5079 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.3401, allocations: 4 kB / 0.5079 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3401, allocations: 7.922 kB / 0.5079 GB, free: 11.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.3402, allocations: 75.28 kB / 0.508 GB, free: 11.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3402, allocations: 0 / 0.508 GB, free: 11.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000194/0.3404, allocations: 8 kB / 0.508 GB, free: 11.05 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.3405, allocations: 103.2 kB / 0.5081 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.341, allocations: 59.86 kB / 0.5081 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.341, allocations: 0 / 0.5081 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.3413, allocations: 43.89 kB / 0.5082 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.3415, allocations: 3.938 kB / 0.5082 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.342, allocations: 92.92 kB / 0.5083 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.3422, allocations: 0.6768 MB / 0.5089 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3422, allocations: 4 kB / 0.5089 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.3422, allocations: 11.44 kB / 0.5089 GB, free: 9.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3423, allocations: 0 / 0.5089 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Templates: time 0.003017/0.3453, allocations: 404.7 kB / 0.5093 GB, free: 9.602 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)