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.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001081/0.001082, allocations: 174.3 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008276/0.0008277, allocations: 92.92 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 12.06 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000753/0.2302, allocations: 339.2 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.2305, allocations: 95.78 kB / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.179e-05/0.2305, allocations: 0 / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.2306, allocations: 0 / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.2306, allocations: 4 kB / 0.8972 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.2308, allocations: 15.92 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.2308, allocations: 7.938 kB / 0.8972 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.2309, allocations: 3.984 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.2309, allocations: 4 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.231, allocations: 0 / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.231, allocations: 4 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.2311, allocations: 11.98 kB / 0.8972 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.2311, allocations: 3.984 kB / 0.8972 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2311, allocations: 15.88 kB / 0.8972 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.052e-05/0.2312, allocations: 11.98 kB / 0.8972 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2312, allocations: 0 / 0.8972 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2312, allocations: 0 / 0.8972 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2312, allocations: 0 / 0.8972 GB, free: 67.66 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.0002552/0.2315, allocations: 323.7 kB / 0.8976 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2315, allocations: 8.031 kB / 0.8976 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2317, allocations: 8.922 kB / 0.8976 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.995e-05/0.2318, allocations: 164.4 kB / 0.8977 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2318, allocations: 8.375 kB / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.2318, allocations: 4.375 kB / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2319, allocations: 38.19 kB / 0.8978 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2319, allocations: 192 / 0.8978 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2319, allocations: 7.938 kB / 0.8978 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.232, allocations: 0 / 0.8978 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.232, allocations: 15.98 kB / 0.8978 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.2322, allocations: 149.7 kB / 0.8979 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2323, allocations: 46.59 kB / 0.898 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.2324, allocations: 8.922 kB / 0.898 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.2324, allocations: 3.938 kB / 0.898 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2324, allocations: 34.56 kB / 0.898 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.2324, allocations: 0 / 0.898 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.2326, allocations: 61.61 kB / 0.8981 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.2326, allocations: 55.41 kB / 0.8981 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.836e-05/0.2327, allocations: 89.86 kB / 0.8982 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.2327, allocations: 25.7 kB / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.2327, allocations: 80.89 kB / 0.8983 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2327, allocations: 7.906 kB / 0.8983 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.2328, allocations: 13.7 kB / 0.8984 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.2328, allocations: 314.8 kB / 0.8987 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.2328, allocations: 8 kB / 0.8987 GB, free: 66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.2329, allocations: 19.86 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.233, allocations: 25.11 kB / 0.8987 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.233, allocations: 0 / 0.8987 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.887e-05/0.2331, allocations: 45.69 kB / 0.8987 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2331, allocations: 4 kB / 0.8987 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2331, allocations: 0 / 0.8987 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2331, allocations: 3.938 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2335, allocations: 43.94 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/0.2344, allocations: 1.31 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.2344, allocations: 160 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2344, allocations: 4 kB / 0.9001 GB, free: 64.41 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 5.106e-05/0.2345, allocations: 113.8 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.2345, allocations: 3.938 kB / 0.9002 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.2345, allocations: 7.5 kB / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2345, allocations: 0 / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.2345, allocations: 0 / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2345, allocations: 7.984 kB / 0.9002 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.789e-05/0.2346, allocations: 157.5 kB / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2346, allocations: 4 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.2349, allocations: 51.86 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2349, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.235, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007443/0.2357, allocations: 1.31 MB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2357, allocations: 0 / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2358, allocations: 77.02 kB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.2359, allocations: 89.02 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-06/0.2359, allocations: 0 / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.2359, allocations: 0 / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.2359, allocations: 12.08 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.2359, allocations: 0 / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.466e-05/0.236, allocations: 79.28 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.236, allocations: 0 / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001679/0.2361, allocations: 4 kB / 0.9019 GB, free: 62.27 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.0001083/0.2362, allocations: 99.19 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.2366, allocations: 67.84 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2367, allocations: 3.938 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.237, allocations: 59.92 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2372, allocations: 7.938 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.2374, allocations: 113 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2375, allocations: 0.6731 MB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.2376, allocations: 11.42 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2376, allocations: 4 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.001682/0.2393, allocations: 0.5795 MB / 0.9035 GB, free: 60.59 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)