Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 174.9 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5786 GB, free: 20.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 82.41 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 12.41 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 106.3 MB / 0.9015 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000729/0.2375, allocations: 338.3 kB / 0.9018 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.2378, allocations: 104.9 kB / 0.9019 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.2378, allocations: 0 / 0.9019 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.2378, allocations: 0 / 0.9019 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.2379, allocations: 0 / 0.9019 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.2381, allocations: 8 kB / 0.9019 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.2381, allocations: 7.984 kB / 0.9019 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2382, allocations: 0 / 0.9019 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.2382, allocations: 4 kB / 0.9019 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.2383, allocations: 3.984 kB / 0.9019 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2383, allocations: 3.938 kB / 0.9019 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.2384, allocations: 19.98 kB / 0.9019 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.2384, allocations: 0 / 0.9019 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.2385, allocations: 33.64 kB / 0.902 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.372e-05/0.2385, allocations: 11.98 kB / 0.902 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2385, allocations: 0 / 0.902 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2385, allocations: 0 / 0.902 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2385, allocations: 0 / 0.902 GB, free: 63.3 MB / 0.6042 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.0002854/0.2388, allocations: 319.5 kB / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2389, allocations: 8.031 kB / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.239, allocations: 12.92 kB / 0.9023 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.361e-05/0.2391, allocations: 164.3 kB / 0.9024 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2391, allocations: 4.375 kB / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.2392, allocations: 384 / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2393, allocations: 38.25 kB / 0.9025 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2393, allocations: 192 / 0.9025 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2393, allocations: 7.922 kB / 0.9025 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2393, allocations: 4 kB / 0.9025 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.2394, allocations: 15.98 kB / 0.9025 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.2395, allocations: 145.7 kB / 0.9027 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2397, allocations: 50.53 kB / 0.9027 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.2397, allocations: 8.922 kB / 0.9027 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2398, allocations: 3.984 kB / 0.9027 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2398, allocations: 34.56 kB / 0.9027 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2398, allocations: 0 / 0.9027 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.24, allocations: 61.61 kB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.24, allocations: 55.34 kB / 0.9029 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.883e-05/0.2401, allocations: 93.8 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.2401, allocations: 29.7 kB / 0.903 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.053e-05/0.2401, allocations: 84.12 kB / 0.9031 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.2401, allocations: 3.906 kB / 0.9031 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.2401, allocations: 4 kB / 0.9031 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.2402, allocations: 314.8 kB / 0.9034 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.2402, allocations: 4 kB / 0.9034 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.2403, allocations: 7.984 kB / 0.9034 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.2403, allocations: 20.84 kB / 0.9034 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2403, allocations: 4 kB / 0.9034 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.075e-05/0.2404, allocations: 49.62 kB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2405, allocations: 8 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2405, allocations: 0 / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2405, allocations: 3.938 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.2409, allocations: 43.92 kB / 0.9035 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.2418, allocations: 1.329 MB / 0.9048 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.2418, allocations: 288 / 0.9048 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2419, allocations: 3.938 kB / 0.9048 GB, free: 60.04 MB / 0.6042 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 6.335e-05/0.2419, allocations: 116.9 kB / 0.9049 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.2419, allocations: 3.938 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.242, allocations: 11.48 kB / 0.9049 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.242, allocations: 0 / 0.9049 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.242, allocations: 4.094 kB / 0.9049 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.242, allocations: 0 / 0.9049 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.097e-05/0.242, allocations: 153.5 kB / 0.9051 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.242, allocations: 336 / 0.9051 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.2424, allocations: 47.92 kB / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2424, allocations: 0 / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2424, allocations: 4 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007608/0.2432, allocations: 1.314 MB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2432, allocations: 0 / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.2433, allocations: 69.09 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.2433, allocations: 85.11 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.2434, allocations: 4 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.2434, allocations: 3.984 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2434, allocations: 4 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.2434, allocations: 7.938 kB / 0.9066 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.441e-05/0.2434, allocations: 75.28 kB / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.302e-06/0.2434, allocations: 0 / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001719/0.2436, allocations: 3.938 kB / 0.9067 GB, free: 57.92 MB / 0.6042 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.0001196/0.2437, allocations: 107.2 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.2442, allocations: 59.91 kB / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2442, allocations: 0 / 0.9068 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.2445, allocations: 55.92 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.2447, allocations: 7.938 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.245, allocations: 119.4 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.2451, allocations: 0.6848 MB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.2451, allocations: 7.438 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2451, allocations: 0 / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.00171/0.2468, allocations: 0.5847 MB / 0.9082 GB, free: 56.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)