Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001295/0.001295, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.8123/0.8123, allocations: 143.1 MB / 434.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3091, allocations: 82.04 MB / 0.5949 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002306/0.3115, allocations: 1.454 MB / 0.5964 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.3118, allocations: 152.4 kB / 0.5965 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.3119, allocations: 0 / 0.5965 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.3119, allocations: 3.938 kB / 0.5965 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.312, allocations: 3.938 kB / 0.5965 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.3122, allocations: 32.59 kB / 0.5965 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.3123, allocations: 39.91 kB / 0.5966 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3125, allocations: 22.89 kB / 0.5966 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.3125, allocations: 20.77 kB / 0.5966 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.3125, allocations: 19.92 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3126, allocations: 4 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.3127, allocations: 33.44 kB / 0.5967 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.3127, allocations: 11.94 kB / 0.5967 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3127, allocations: 19.86 kB / 0.5967 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3128, allocations: 59.86 kB / 0.5968 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3128, allocations: 0.9062 kB / 0.5968 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3128, allocations: 0 / 0.5968 GB, free: 14.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3128, allocations: 5.172 kB / 0.5968 GB, free: 14.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003481/0.3132, allocations: 361.7 kB / 0.5971 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.3132, allocations: 8.031 kB / 0.5971 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.3142, allocations: 218.6 kB / 0.5973 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.3143, allocations: 160.4 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3143, allocations: 5.875 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3143, allocations: 384 / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.3148, allocations: 208 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3148, allocations: 192 / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3149, allocations: 3.938 kB / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3149, allocations: 0 / 0.5977 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.3156, allocations: 281.8 kB / 0.598 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.3164, allocations: 452.8 kB / 0.5984 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.3174, allocations: 296.8 kB / 0.5987 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.3177, allocations: 107 kB / 0.5988 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3178, allocations: 0 / 0.5988 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.3178, allocations: 31.91 kB / 0.5988 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3178, allocations: 0 / 0.5988 GB, free: 12.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001054/0.3188, allocations: 313.4 kB / 0.5991 GB, free: 11.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3189, allocations: 51.41 kB / 0.5992 GB, free: 11.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.3189, allocations: 118.8 kB / 0.5993 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.319, allocations: 29.7 kB / 0.5993 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.319, allocations: 85.17 kB / 0.5994 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.319, allocations: 11.81 kB / 0.5994 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3191, allocations: 23.05 kB / 0.5994 GB, free: 11.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.3191, allocations: 314.8 kB / 0.5997 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.3194, allocations: 101.4 kB / 0.5998 GB, free: 11.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.3197, allocations: 93.22 kB / 0.5999 GB, free: 10.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.3203, allocations: 175.5 kB / 0.6001 GB, free: 10.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3204, allocations: 0 / 0.6001 GB, free: 10.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006586/0.321, allocations: 213 kB / 0.6003 GB, free: 10.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.321, allocations: 8 kB / 0.6003 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3211, allocations: 0 / 0.6003 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3211, allocations: 0 / 0.6003 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3213, allocations: 41.28 kB / 0.6003 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3213, allocations: 0 / 0.6003 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3215, allocations: 25.3 kB / 0.6003 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3215, allocations: 4 kB / 0.6003 GB, free: 10.48 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.3216, allocations: 122.6 kB / 0.6005 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3216, allocations: 4.875 kB / 0.6005 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.3217, allocations: 7.906 kB / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3217, allocations: 1.031 kB / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3217, allocations: 0 / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3217, allocations: 1.5 kB / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3219, allocations: 213.5 kB / 0.6007 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3219, allocations: 0 / 0.6007 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.3221, allocations: 41.19 kB / 0.6007 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3221, allocations: 0 / 0.6007 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3221, allocations: 4 kB / 0.6007 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3221, allocations: 1 kB / 0.6007 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3221, allocations: 7.938 kB / 0.6007 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.3228, allocations: 314.6 kB / 0.601 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.3228, allocations: 86.72 kB / 0.6011 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3229, allocations: 0 / 0.6011 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3231, allocations: 28.45 kB / 0.6011 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.3231, allocations: 0.5938 kB / 0.6011 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3231, allocations: 3.984 kB / 0.6011 GB, free: 9.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.23e-05/0.3232, allocations: 100.7 kB / 0.6012 GB, free: 9.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3232, allocations: 0 / 0.6012 GB, free: 9.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3234, allocations: 12 kB / 0.6012 GB, free: 9.457 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.372e-05/0.3235, allocations: 104.5 kB / 0.6013 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.3242, allocations: 199.2 kB / 0.6015 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3242, allocations: 0 / 0.6015 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3245, allocations: 100.6 kB / 0.6016 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.3248, allocations: 5.438 kB / 0.6016 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.3256, allocations: 290.8 kB / 0.6019 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.3257, allocations: 0.6922 MB / 0.6026 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3258, allocations: 15.44 kB / 0.6026 GB, free: 8.008 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3258, allocations: 0 / 0.6026 GB, free: 8.008 MB / 446.1 MB Notification: Performance of Templates: time 0.001983/0.3278, allocations: 1.168 MB / 0.6037 GB, free: 6.875 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)