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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001297/0.001297, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001426/0.001426, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.248/1.248, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.7951/0.7951, allocations: 143.1 MB / 434.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 0.5148 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3195, allocations: 82.03 MB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00169/0.3213, allocations: 0.5877 MB / 0.5955 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.3215, allocations: 91.02 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.3216, allocations: 0.7188 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.3216, allocations: 3.938 kB / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.3217, allocations: 1.469 kB / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3219, allocations: 19.97 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.322, allocations: 4 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3221, allocations: 1.094 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.3221, allocations: 8 kB / 0.5956 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.3222, allocations: 11.86 kB / 0.5957 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3222, allocations: 4.5 kB / 0.5957 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.3223, allocations: 13.14 kB / 0.5957 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3223, allocations: 4 kB / 0.5957 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3223, allocations: 0 / 0.5957 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3225, allocations: 25.06 kB / 0.5957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3225, allocations: 0 / 0.5957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3225, allocations: 0 / 0.5957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3225, allocations: 0 / 0.5957 GB, free: 15.46 MB / 446.1 MB 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.0003172/0.3228, allocations: 317.5 kB / 0.596 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3229, allocations: 8.031 kB / 0.596 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.323, allocations: 13.58 kB / 0.596 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.3231, allocations: 160.4 kB / 0.5962 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3231, allocations: 1.781 kB / 0.5962 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3231, allocations: 8.359 kB / 0.5962 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.3233, allocations: 34.25 kB / 0.5962 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3233, allocations: 4.812 kB / 0.5962 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3233, allocations: 3.938 kB / 0.5962 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3233, allocations: 0.6562 kB / 0.5962 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.3234, allocations: 28.78 kB / 0.5963 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.3236, allocations: 146.6 kB / 0.5964 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.3237, allocations: 44.69 kB / 0.5964 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.3238, allocations: 8.922 kB / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.3238, allocations: 0 / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.3238, allocations: 40.44 kB / 0.5965 GB, free: 14.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.3238, allocations: 0 / 0.5965 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002064/0.324, allocations: 57.55 kB / 0.5965 GB, free: 14.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.3241, allocations: 56.22 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.992e-05/0.3241, allocations: 92.48 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.3241, allocations: 25.7 kB / 0.5967 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.071e-05/0.3241, allocations: 80.14 kB / 0.5968 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.3242, allocations: 17.77 kB / 0.5968 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3242, allocations: 13.72 kB / 0.5968 GB, free: 14.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3242, allocations: 311.6 kB / 0.5971 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.3243, allocations: 11.98 kB / 0.5971 GB, free: 13.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.3243, allocations: 5.531 kB / 0.5971 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.3244, allocations: 20.84 kB / 0.5971 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3244, allocations: 5.438 kB / 0.5971 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.509e-05/0.3245, allocations: 53.62 kB / 0.5972 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3245, allocations: 4 kB / 0.5972 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3245, allocations: 0 / 0.5972 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3245, allocations: 4.5 kB / 0.5972 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.3249, allocations: 46.92 kB / 0.5973 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009181/0.3258, allocations: 1.407 MB / 0.5986 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.3259, allocations: 0 / 0.5986 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.3259, allocations: 1.281 kB / 0.5986 GB, free: 12.12 MB / 446.1 MB 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 4.955e-05/0.3259, allocations: 113.8 kB / 0.5987 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.326, allocations: 5.5 kB / 0.5987 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.326, allocations: 3.5 kB / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.326, allocations: 0 / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.326, allocations: 0.7188 kB / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.326, allocations: 4 kB / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.774e-05/0.3261, allocations: 162.7 kB / 0.5989 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3261, allocations: 0 / 0.5989 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.3264, allocations: 50.67 kB / 0.599 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3264, allocations: 0 / 0.599 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3264, allocations: 4 kB / 0.599 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007625/0.3272, allocations: 1.412 MB / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3272, allocations: 0 / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.3273, allocations: 78.53 kB / 0.6004 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.3273, allocations: 77.11 kB / 0.6005 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.3274, allocations: 13.17 kB / 0.6005 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.525e-05/0.3274, allocations: 4 kB / 0.6005 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.3274, allocations: 5.312 kB / 0.6005 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3274, allocations: 0 / 0.6005 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.3274, allocations: 75.28 kB / 0.6006 GB, free: 9.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3274, allocations: 0.7812 kB / 0.6006 GB, free: 9.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.3276, allocations: 4 kB / 0.6006 GB, free: 9.902 MB / 446.1 MB 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 9.472e-05/0.3277, allocations: 104.5 kB / 0.6007 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.3282, allocations: 58.84 kB / 0.6007 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3282, allocations: 0 / 0.6007 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.3285, allocations: 70.69 kB / 0.6008 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3287, allocations: 1.281 kB / 0.6008 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3289, allocations: 123.8 kB / 0.6009 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.329, allocations: 0.6805 MB / 0.6016 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.3291, allocations: 7.438 kB / 0.6016 GB, free: 8.805 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3291, allocations: 1 kB / 0.6016 GB, free: 8.805 MB / 446.1 MB Notification: Performance of Templates: time 0.00168/0.3307, allocations: 0.5934 MB / 0.6022 GB, free: 8.23 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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)