Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001169/0.001169, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001373/0.001373, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 434.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 16 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2031, allocations: 83.4 MB / 0.5973 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006832/0.2038, allocations: 315 kB / 0.5976 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.2041, allocations: 87.83 kB / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.106e-05/0.2041, allocations: 0 / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.766e-06/0.2041, allocations: 0 / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.2042, allocations: 0 / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2043, allocations: 11.88 kB / 0.5977 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.2044, allocations: 19.97 kB / 0.5977 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2045, allocations: 0 / 0.5977 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.2045, allocations: 4 kB / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.2046, allocations: 0 / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.2046, allocations: 0 / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.2046, allocations: 15.98 kB / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.2046, allocations: 0 / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.2047, allocations: 25.7 kB / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.564e-05/0.2047, allocations: 7.984 kB / 0.5978 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2047, allocations: 0 / 0.5978 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2047, allocations: 0 / 0.5978 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.2048, allocations: 7.938 kB / 0.5978 GB, free: 7.395 MB / 0.4981 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.0003084/0.2051, allocations: 319.4 kB / 0.5981 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2051, allocations: 12.03 kB / 0.5981 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.2053, allocations: 7.984 kB / 0.5981 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.2054, allocations: 163 kB / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2054, allocations: 0 / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.2054, allocations: 0 / 0.5982 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2056, allocations: 45.67 kB / 0.5983 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2056, allocations: 0 / 0.5983 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2056, allocations: 4 kB / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2056, allocations: 4 kB / 0.5983 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.2057, allocations: 11.98 kB / 0.5983 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.2058, allocations: 153.6 kB / 0.5984 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.206, allocations: 50.58 kB / 0.5985 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.206, allocations: 7.969 kB / 0.5985 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.2061, allocations: 30.56 kB / 0.5985 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2061, allocations: 0 / 0.5985 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002091/0.2063, allocations: 57.69 kB / 0.5986 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2063, allocations: 55.39 kB / 0.5986 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.254e-05/0.2064, allocations: 89.86 kB / 0.5987 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2064, allocations: 33.7 kB / 0.5988 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.2064, allocations: 80.14 kB / 0.5988 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.2064, allocations: 12.03 kB / 0.5988 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.2065, allocations: 3.938 kB / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.2066, allocations: 318.8 kB / 0.5992 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.2066, allocations: 7.984 kB / 0.5992 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.2066, allocations: 4 kB / 0.5992 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.2067, allocations: 11.95 kB / 0.5992 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.2067, allocations: 7.984 kB / 0.5992 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/0.2068, allocations: 45.69 kB / 0.5992 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2068, allocations: 8 kB / 0.5992 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2069, allocations: 0 / 0.5992 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2069, allocations: 3.938 kB / 0.5992 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.2073, allocations: 43.94 kB / 0.5993 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.2085, allocations: 1.306 MB / 0.6006 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.2086, allocations: 3.938 kB / 0.6006 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2086, allocations: 0 / 0.6006 GB, free: 4.184 MB / 0.4981 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.2087, allocations: 117.8 kB / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.2087, allocations: 4.172 kB / 0.6007 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.2087, allocations: 11.48 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2087, allocations: 0 / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.2087, allocations: 0 / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2087, allocations: 0 / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.2088, allocations: 153.6 kB / 0.6008 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2088, allocations: 3.984 kB / 0.6008 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.2092, allocations: 47.94 kB / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2092, allocations: 0 / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2092, allocations: 0 / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.2103, allocations: 1.313 MB / 0.6022 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2103, allocations: 3.938 kB / 0.6022 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2105, allocations: 85.31 kB / 0.6023 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.2105, allocations: 77.11 kB / 0.6023 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.2105, allocations: 0 / 0.6023 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.2106, allocations: 0 / 0.6023 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.2106, allocations: 7.938 kB / 0.6023 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2106, allocations: 0 / 0.6023 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.2106, allocations: 75.28 kB / 0.6024 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2106, allocations: 0 / 0.6024 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000197/0.2108, allocations: 12 kB / 0.6024 GB, free: 2.051 MB / 0.4981 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.2109, allocations: 103.2 kB / 0.6025 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.2114, allocations: 59.92 kB / 0.6026 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2114, allocations: 0 / 0.6026 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2117, allocations: 31.95 kB / 0.6026 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.712e-05/0.2118, allocations: 13.78 kB / 0.6026 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.212, allocations: 94.91 kB / 0.6027 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2123, allocations: 0.6848 MB / 0.6034 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.2123, allocations: 4.234 kB / 0.6034 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.2124, allocations: 11.42 kB / 0.6034 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2124, allocations: 0 / 0.6034 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Templates: time 0.002083/0.2144, allocations: 379.8 kB / 0.6038 GB, free: 0.625 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: