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.001757/0.001757, allocations: 104.2 kB / 16.41 MB, free: 6.516 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.001924/0.001924, allocations: 185.7 kB / 17.34 MB, free: 5.738 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.9071/0.9071, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 64.09 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.004326/0.2417, allocations: 1.48 MB / 0.6778 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006384/0.2423, allocations: 136.4 kB / 0.6779 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.2424, allocations: 4 kB / 0.6779 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.139e-05/0.2424, allocations: 3.938 kB / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.2425, allocations: 3.938 kB / 0.6779 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.2429, allocations: 35.89 kB / 0.6779 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.243, allocations: 39.84 kB / 0.678 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2432, allocations: 19.98 kB / 0.678 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.2432, allocations: 19.94 kB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2433, allocations: 19.92 kB / 0.678 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2433, allocations: 0 / 0.678 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2435, allocations: 39.97 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2435, allocations: 15.91 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.2436, allocations: 15.94 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2438, allocations: 71.72 kB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2438, allocations: 0 / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2438, allocations: 0 / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2438, allocations: 0 / 0.6782 GB, free: 8.414 MB / 0.5137 GB 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.000769/0.2446, allocations: 367.2 kB / 0.6785 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2446, allocations: 8.031 kB / 0.6785 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.2466, allocations: 208.5 kB / 0.6787 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2468, allocations: 168.3 kB / 0.6789 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2468, allocations: 12.38 kB / 0.6789 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2469, allocations: 4.359 kB / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.2478, allocations: 198 kB / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2478, allocations: 192 / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.2479, allocations: 3.938 kB / 0.6791 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2479, allocations: 0 / 0.6791 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.2495, allocations: 279.6 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2511, allocations: 445 kB / 0.6798 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.2533, allocations: 286.1 kB / 0.6801 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007084/0.254, allocations: 104.8 kB / 0.6802 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2541, allocations: 3.938 kB / 0.6802 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.2541, allocations: 38.55 kB / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.2541, allocations: 0 / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.002269/0.2564, allocations: 313.2 kB / 0.6805 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.2564, allocations: 51.41 kB / 0.6805 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2566, allocations: 117.8 kB / 0.6807 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.2567, allocations: 29.7 kB / 0.6807 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.2568, allocations: 92.12 kB / 0.6808 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.2568, allocations: 7.953 kB / 0.6808 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2569, allocations: 13.72 kB / 0.6808 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.2571, allocations: 326.8 kB / 0.6811 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.2578, allocations: 87.88 kB / 0.6812 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.2585, allocations: 95.88 kB / 0.6813 GB, free: 5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2597, allocations: 176.6 kB / 0.6814 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2597, allocations: 0 / 0.6814 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001492/0.2612, allocations: 217.4 kB / 0.6817 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.2613, allocations: 4 kB / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2613, allocations: 0 / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.2613, allocations: 4 kB / 0.6817 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.2618, allocations: 35.94 kB / 0.6817 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.2618, allocations: 0 / 0.6817 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.2621, allocations: 27.95 kB / 0.6817 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2621, allocations: 0 / 0.6817 GB, free: 4.535 MB / 0.5137 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): 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 0.0001831/0.2623, allocations: 122.4 kB / 0.6818 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.2624, allocations: 7.953 kB / 0.6818 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.2625, allocations: 19.84 kB / 0.6819 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2625, allocations: 0 / 0.6819 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2625, allocations: 0 / 0.6819 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2625, allocations: 3.984 kB / 0.6819 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.2629, allocations: 213.8 kB / 0.6821 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2629, allocations: 3.984 kB / 0.6821 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.2633, allocations: 31.89 kB / 0.6821 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2633, allocations: 4.375 kB / 0.6821 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2633, allocations: 4 kB / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2633, allocations: 0 / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2633, allocations: 3.984 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2643, allocations: 323.1 kB / 0.6824 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.2644, allocations: 77.11 kB / 0.6825 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2644, allocations: 4 kB / 0.6825 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2646, allocations: 23.95 kB / 0.6825 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2647, allocations: 11.98 kB / 0.6825 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2647, allocations: 0 / 0.6825 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.2647, allocations: 95.2 kB / 0.6826 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2647, allocations: 0 / 0.6826 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002438/0.265, allocations: 20 kB / 0.6827 GB, free: 3.488 MB / 0.5137 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): 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 0.0001372/0.2651, allocations: 95.19 kB / 0.6827 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007982/0.2659, allocations: 199.7 kB / 0.6829 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2659, allocations: 0 / 0.6829 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.2663, allocations: 99.88 kB / 0.683 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2666, allocations: 1.719 kB / 0.683 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2676, allocations: 283 kB / 0.6833 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.268, allocations: 0.6924 MB / 0.684 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.268, allocations: 15.42 kB / 0.684 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.268, allocations: 0 / 0.684 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of Templates: time 0.002991/0.271, allocations: 1.17 MB / 0.6851 GB, free: 0.8789 MB / 0.5137 GB 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)