Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001115/0.001115, allocations: 100.5 kB / 16.27 MB, free: 6.418 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.001111/0.001111, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.54/1.54, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.893/1.893, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 114.5 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002003/0.2921, allocations: 0.598 MB / 0.7846 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.2924, allocations: 95.72 kB / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.2925, allocations: 0 / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.2925, allocations: 0 / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.2925, allocations: 0 / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2928, allocations: 23.92 kB / 0.7847 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.2928, allocations: 8 kB / 0.7847 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.2929, allocations: 3.984 kB / 0.7847 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.2929, allocations: 4 kB / 0.7847 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.293, allocations: 7.922 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.293, allocations: 0 / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.2931, allocations: 15.98 kB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.2931, allocations: 0 / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.2931, allocations: 4 kB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.2932, allocations: 11.98 kB / 0.7848 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2933, allocations: 0 / 0.7848 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2933, allocations: 4 kB / 0.7848 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2933, allocations: 0 / 0.7848 GB, free: 3.078 MB / 0.6544 GB 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.0004088/0.2937, allocations: 327.5 kB / 0.7851 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2937, allocations: 8.031 kB / 0.7851 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2939, allocations: 8.922 kB / 0.7851 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.294, allocations: 160.4 kB / 0.7853 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2941, allocations: 384 / 0.7853 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.2941, allocations: 4.375 kB / 0.7853 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2942, allocations: 46.23 kB / 0.7853 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2942, allocations: 4.125 kB / 0.7853 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2943, allocations: 3.938 kB / 0.7853 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2943, allocations: 0 / 0.7853 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.2944, allocations: 11.98 kB / 0.7853 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.2945, allocations: 150 kB / 0.7855 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2947, allocations: 42.66 kB / 0.7855 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.2948, allocations: 16.86 kB / 0.7855 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2948, allocations: 7.969 kB / 0.7855 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2948, allocations: 38.44 kB / 0.7856 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2949, allocations: 0 / 0.7856 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002444/0.2951, allocations: 57.62 kB / 0.7856 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2952, allocations: 59.39 kB / 0.7857 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.2952, allocations: 89.86 kB / 0.7858 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2952, allocations: 25.7 kB / 0.7858 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.2953, allocations: 80.14 kB / 0.7859 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2953, allocations: 15.75 kB / 0.7859 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2953, allocations: 17.72 kB / 0.7859 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2955, allocations: 310.8 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.2955, allocations: 7.984 kB / 0.7862 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2956, allocations: 12 kB / 0.7862 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.2956, allocations: 29.05 kB / 0.7863 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2957, allocations: 0 / 0.7863 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001153/0.2958, allocations: 49.67 kB / 0.7863 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2958, allocations: 4 kB / 0.7863 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2958, allocations: 4 kB / 0.7863 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2958, allocations: 7.938 kB / 0.7863 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.2962, allocations: 43.94 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5113/0.8076, allocations: 1.393 MB / 0.7877 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.8077, allocations: 6.5 kB / 0.7877 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.8077, allocations: 3.656 kB / 0.7877 GB, free: 47.67 MB / 0.6544 GB 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 7.077e-05/0.8078, allocations: 113.5 kB / 0.7878 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.8078, allocations: 5.203 kB / 0.7878 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.8078, allocations: 3.5 kB / 0.7878 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8078, allocations: 0.8438 kB / 0.7878 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.8078, allocations: 0.5312 kB / 0.7878 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.8078, allocations: 1.125 kB / 0.7879 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.8079, allocations: 153.7 kB / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8079, allocations: 0 / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.8083, allocations: 48.94 kB / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8083, allocations: 2.688 kB / 0.788 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.8083, allocations: 4.078 kB / 0.7881 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000936/0.8093, allocations: 1.407 MB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8093, allocations: 0.5 kB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.8094, allocations: 75.8 kB / 0.7895 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.8094, allocations: 77.11 kB / 0.7896 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.8094, allocations: 11.62 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.8095, allocations: 0.5 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.8095, allocations: 7.031 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.8095, allocations: 1.719 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.8095, allocations: 75.28 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8095, allocations: 0.6562 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001921/0.8097, allocations: 2.688 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB 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.0001321/0.8099, allocations: 101.5 kB / 0.7898 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.8103, allocations: 65.77 kB / 0.7898 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8103, allocations: 0 / 0.7898 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.8107, allocations: 62.98 kB / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.8109, allocations: 2.312 kB / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.8112, allocations: 116.6 kB / 0.79 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.8114, allocations: 0.6774 MB / 0.7907 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.8114, allocations: 11.69 kB / 0.7907 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.8114, allocations: 0 / 0.7907 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.002146/0.8136, allocations: 0.5927 MB / 0.7913 GB, free: 44.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)