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.001282/0.001282, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001506/0.001506, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5595/0.5595, allocations: 95.58 MB / 366 MB, free: 10.41 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.0005395/0.0005396, allocations: 20 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3177, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007079/0.3185, allocations: 277.7 kB / 0.5053 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.3187, allocations: 81.48 kB / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.3188, allocations: 0 / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.3188, allocations: 0 / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.3188, allocations: 0 / 0.5054 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.319, allocations: 27.84 kB / 0.5054 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.3191, allocations: 4 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.3191, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.3192, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.3192, allocations: 4 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3193, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.3193, allocations: 15.98 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-06/0.3193, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.3194, allocations: 25.7 kB / 0.5054 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.775e-05/0.3194, allocations: 11.97 kB / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3194, allocations: 0 / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3195, allocations: 7.938 kB / 0.5054 GB, free: 16.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.3195, allocations: 0 / 0.5054 GB, free: 16.07 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.0003181/0.3198, allocations: 319.4 kB / 0.5058 GB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3198, allocations: 11.98 kB / 0.5058 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.32, allocations: 15.89 kB / 0.5058 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.181e-05/0.3201, allocations: 159.1 kB / 0.5059 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3201, allocations: 0 / 0.5059 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3201, allocations: 0 / 0.5059 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3203, allocations: 45.64 kB / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3203, allocations: 4 kB / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3203, allocations: 0 / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3203, allocations: 0 / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.3204, allocations: 15.98 kB / 0.506 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.3205, allocations: 155.6 kB / 0.5061 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3206, allocations: 46.59 kB / 0.5062 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3207, allocations: 0 / 0.5062 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.3207, allocations: 34.56 kB / 0.5062 GB, free: 15.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3207, allocations: 3.938 kB / 0.5062 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.3209, allocations: 61.72 kB / 0.5063 GB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.3209, allocations: 51.41 kB / 0.5063 GB, free: 14.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.3209, allocations: 93.8 kB / 0.5064 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.321, allocations: 29.7 kB / 0.5064 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.321, allocations: 80.14 kB / 0.5065 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.321, allocations: 11.91 kB / 0.5065 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.321, allocations: 0 / 0.5065 GB, free: 14.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.3211, allocations: 310.8 kB / 0.5068 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.3211, allocations: 7.984 kB / 0.5068 GB, free: 14.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.3211, allocations: 8 kB / 0.5068 GB, free: 14.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.3212, allocations: 7.984 kB / 0.5069 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3212, allocations: 4 kB / 0.5069 GB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.309e-05/0.3213, allocations: 45.97 kB / 0.5069 GB, free: 14.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3213, allocations: 4 kB / 0.5069 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3213, allocations: 7.938 kB / 0.5069 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3213, allocations: 7.984 kB / 0.5069 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.3217, allocations: 43.92 kB / 0.507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009399/0.3227, allocations: 1.313 MB / 0.5082 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.3227, allocations: 4 kB / 0.5082 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3227, allocations: 0 / 0.5082 GB, free: 12.86 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.3228, allocations: 117.8 kB / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-06/0.3228, allocations: 4.188 kB / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.102e-05/0.3228, allocations: 3.5 kB / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3228, allocations: 3.953 kB / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3228, allocations: 0 / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3228, allocations: 0 / 0.5084 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.408e-05/0.3229, allocations: 153.7 kB / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3229, allocations: 0 / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.3232, allocations: 47.94 kB / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3232, allocations: 0 / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3232, allocations: 3.984 kB / 0.5086 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007449/0.324, allocations: 1.317 MB / 0.5099 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.324, allocations: 0 / 0.5099 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.3241, allocations: 81.34 kB / 0.5099 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.3241, allocations: 77.11 kB / 0.51 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-06/0.3241, allocations: 3.938 kB / 0.51 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.3242, allocations: 0 / 0.51 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.3242, allocations: 19.88 kB / 0.51 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3242, allocations: 0 / 0.51 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.049e-05/0.3242, allocations: 75.28 kB / 0.5101 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3242, allocations: 4 kB / 0.5101 GB, free: 10.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.3244, allocations: 4 kB / 0.5101 GB, free: 10.72 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.549e-05/0.3245, allocations: 95.25 kB / 0.5102 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.3249, allocations: 59.92 kB / 0.5103 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3249, allocations: 3.938 kB / 0.5103 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.3251, allocations: 35.95 kB / 0.5103 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.628e-05/0.3252, allocations: 0 / 0.5103 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.3255, allocations: 102.9 kB / 0.5104 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.487e-05/0.3256, allocations: 0.677 MB / 0.5111 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.011e-05/0.3256, allocations: 3.984 kB / 0.5111 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.3256, allocations: 11.44 kB / 0.5111 GB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3257, allocations: 0 / 0.5111 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Templates: time 0.001989/0.3276, allocations: 380.5 kB / 0.5114 GB, free: 9.309 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: