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.0009222/0.0009224, allocations: 90.52 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.007115/0.007115, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.741/1.741, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.6344/0.6344, allocations: 95.61 MB / 366.4 MB, free: 10.26 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.000532/0.000532, allocations: 24 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3879, allocations: 70.32 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007373/0.3887, allocations: 285 kB / 0.5059 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.389, allocations: 94.78 kB / 0.506 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.389, allocations: 0 / 0.506 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.3891, allocations: 0 / 0.506 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.3891, allocations: 0 / 0.506 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.3893, allocations: 11.98 kB / 0.506 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.3894, allocations: 8 kB / 0.506 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.3894, allocations: 3.984 kB / 0.5061 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.3895, allocations: 7.938 kB / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3896, allocations: 7.984 kB / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3896, allocations: 0 / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.3897, allocations: 15.98 kB / 0.5061 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.3897, allocations: 0 / 0.5061 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.3897, allocations: 29.7 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.3899, allocations: 19.86 kB / 0.5061 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3899, allocations: 0 / 0.5061 GB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3899, allocations: 0 / 0.5061 GB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3899, allocations: 0 / 0.5061 GB, free: 15.86 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.0003087/0.3902, allocations: 319.6 kB / 0.5064 GB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3902, allocations: 15.98 kB / 0.5065 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3904, allocations: 12.83 kB / 0.5065 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.3905, allocations: 160.4 kB / 0.5066 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3905, allocations: 384 / 0.5066 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3906, allocations: 7.938 kB / 0.5066 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3907, allocations: 41.67 kB / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3907, allocations: 0 / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3907, allocations: 0 / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3907, allocations: 4 kB / 0.5067 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.3908, allocations: 19.92 kB / 0.5067 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.391, allocations: 147.7 kB / 0.5068 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3912, allocations: 50.47 kB / 0.5069 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3912, allocations: 12.92 kB / 0.5069 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3913, allocations: 4 kB / 0.5069 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3913, allocations: 42.55 kB / 0.5069 GB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3913, allocations: 0 / 0.5069 GB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002592/0.3916, allocations: 53.81 kB / 0.507 GB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.3916, allocations: 51.41 kB / 0.507 GB, free: 14.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.3916, allocations: 93.84 kB / 0.5071 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3917, allocations: 25.7 kB / 0.5071 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.3917, allocations: 84.14 kB / 0.5072 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.3918, allocations: 3.906 kB / 0.5072 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.3918, allocations: 17.72 kB / 0.5072 GB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.3919, allocations: 310.8 kB / 0.5075 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.3919, allocations: 7.984 kB / 0.5076 GB, free: 14.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.392, allocations: 11.98 kB / 0.5076 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.3921, allocations: 24.78 kB / 0.5076 GB, free: 14.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3921, allocations: 0 / 0.5076 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.452e-05/0.3922, allocations: 57.56 kB / 0.5076 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3922, allocations: 6.188 kB / 0.5076 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3922, allocations: 4 kB / 0.5077 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3922, allocations: 0 / 0.5077 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.3926, allocations: 39.92 kB / 0.5077 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.3937, allocations: 1.317 MB / 0.509 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.3937, allocations: 0 / 0.509 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3937, allocations: 8.016 kB / 0.509 GB, free: 12.59 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 8.515e-05/0.3938, allocations: 117.7 kB / 0.5091 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.3938, allocations: 0 / 0.5091 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/0.3939, allocations: 11.59 kB / 0.5091 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3939, allocations: 4 kB / 0.5091 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3939, allocations: 0 / 0.5091 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3939, allocations: 0 / 0.5091 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.394, allocations: 157.6 kB / 0.5093 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.394, allocations: 0 / 0.5093 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.3943, allocations: 43.94 kB / 0.5093 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3943, allocations: 0 / 0.5093 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3944, allocations: 4 kB / 0.5093 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008394/0.3952, allocations: 1.314 MB / 0.5106 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3952, allocations: 3.938 kB / 0.5106 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3953, allocations: 73.28 kB / 0.5107 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.3954, allocations: 85.09 kB / 0.5107 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-06/0.3954, allocations: 0 / 0.5107 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.3954, allocations: 0 / 0.5107 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3954, allocations: 15.81 kB / 0.5108 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3954, allocations: 0 / 0.5108 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.492e-05/0.3955, allocations: 75.28 kB / 0.5108 GB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3955, allocations: 0 / 0.5108 GB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.3956, allocations: 4 kB / 0.5108 GB, free: 10.46 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.0001058/0.3958, allocations: 103.2 kB / 0.5109 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.3962, allocations: 55.92 kB / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3962, allocations: 4 kB / 0.511 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3964, allocations: 43.89 kB / 0.511 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.3966, allocations: 3.938 kB / 0.511 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.3969, allocations: 98.88 kB / 0.5111 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.397, allocations: 0.677 MB / 0.5118 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.3971, allocations: 4 kB / 0.5118 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.3971, allocations: 11.44 kB / 0.5118 GB, free: 9.402 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3971, allocations: 0 / 0.5118 GB, free: 9.402 MB / 382.1 MB Notification: Performance of Templates: time 0.002427/0.3995, allocations: 384.5 kB / 0.5122 GB, free: 9.031 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: