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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001041/0.001041, 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.001457/0.001458, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.28 kB / 0.912 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3245, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002092/0.3266, allocations: 0.5777 MB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003644/0.327, allocations: 103.7 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.327, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.3271, allocations: 3.938 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.3271, allocations: 0 / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3274, allocations: 15.98 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.3275, allocations: 7.984 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3275, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.3275, allocations: 4 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.3276, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3276, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.3277, allocations: 27.86 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3278, allocations: 3.984 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.3278, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.711e-05/0.3279, allocations: 11.98 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3279, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3279, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.3279, allocations: 3.984 kB / 1.069 GB, free: 9.629 MB / 0.8262 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.0004003/0.3283, allocations: 319.6 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3284, allocations: 8.031 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.3285, allocations: 16.86 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3287, allocations: 168.3 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3287, allocations: 384 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.3287, allocations: 4.375 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3288, allocations: 38.25 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3288, allocations: 4.188 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3289, allocations: 3.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3289, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.329, allocations: 15.92 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.3291, allocations: 157.7 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3293, allocations: 38.62 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.3294, allocations: 16.84 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3294, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3294, allocations: 34.56 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3295, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002295/0.3297, allocations: 65.55 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3297, allocations: 51.41 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.3298, allocations: 89.86 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3298, allocations: 25.7 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.3298, allocations: 80.14 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3299, allocations: 16.03 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3299, allocations: 21.72 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3301, allocations: 314.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.3301, allocations: 4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.3302, allocations: 7.984 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.578e-05/0.3302, allocations: 21.12 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3303, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001161/0.3304, allocations: 53.61 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3304, allocations: 8 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3304, allocations: 4 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3304, allocations: 3.938 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.3308, allocations: 43.94 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.3324, allocations: 1.406 MB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.3324, allocations: 4.031 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3324, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 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 9.04e-05/0.3325, allocations: 110.3 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.3325, allocations: 12.08 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.3326, allocations: 11.44 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3326, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3326, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3326, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3327, allocations: 153.6 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3327, allocations: 3.938 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.3331, allocations: 47.94 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3331, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3331, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.3344, allocations: 1.416 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3344, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3345, allocations: 77.08 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.3346, allocations: 81.11 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3346, allocations: 3.938 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.3346, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3347, allocations: 8.047 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3347, allocations: 4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.3347, allocations: 75.28 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001977/0.3349, allocations: 8 kB / 1.074 GB, free: 4.012 MB / 0.8262 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.0001694/0.3351, allocations: 95.25 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.3356, allocations: 67.91 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3356, allocations: 0 / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.3358, allocations: 31.91 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.336, allocations: 7.984 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.3364, allocations: 112.8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3367, allocations: 0.669 MB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.603e-05/0.3367, allocations: 4 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.3368, allocations: 7.438 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3368, allocations: 0 / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.002789/0.3396, allocations: 422.4 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB 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)