Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006743/0.006743, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.00123/0.00123, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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 1.051/1.051, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4778, allocations: 82.02 MB / 0.6752 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002511/0.4804, allocations: 1.46 MB / 0.6766 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.4814, allocations: 0.5639 MB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.4814, allocations: 0 / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.4815, allocations: 3.938 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.4815, allocations: 8.859 kB / 0.6772 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.4818, allocations: 51.23 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.4819, allocations: 31.53 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.482, allocations: 3.438 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.4821, allocations: 17.36 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.4822, allocations: 7.344 kB / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4822, allocations: 2.281 kB / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.4824, allocations: 63.19 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.4824, allocations: 1.062 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.4825, allocations: 22.92 kB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.4827, allocations: 65.36 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4827, allocations: 1.438 kB / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4827, allocations: 0 / 0.6774 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4827, allocations: 0 / 0.6774 GB, free: 15.42 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005185/0.4832, allocations: 352.1 kB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4833, allocations: 9.469 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.4833, allocations: 30.75 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4834, allocations: 7.375 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4835, allocations: 165.7 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4835, allocations: 5.688 kB / 0.678 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.4836, allocations: 1.594 kB / 0.678 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4837, allocations: 46.11 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4838, allocations: 0 / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4838, allocations: 4 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4838, allocations: 1.062 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4839, allocations: 23.08 kB / 0.678 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.4843, allocations: 259.7 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4844, allocations: 27.83 kB / 0.6783 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.4845, allocations: 19.62 kB / 0.6783 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.4855, allocations: 475.6 kB / 0.6788 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4855, allocations: 39.8 kB / 0.6788 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4856, allocations: 0 / 0.6788 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002847/0.4858, allocations: 67.81 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.4859, allocations: 51.41 kB / 0.6789 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.486, allocations: 112 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4861, allocations: 29.83 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4861, allocations: 90.47 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.4861, allocations: 3.906 kB / 0.6791 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.4862, allocations: 17.16 kB / 0.6792 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4863, allocations: 315.9 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.4864, allocations: 13.64 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.4865, allocations: 5.781 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.4866, allocations: 33.66 kB / 0.6795 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4866, allocations: 0 / 0.6795 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001475/0.4867, allocations: 54.27 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4868, allocations: 5.219 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4868, allocations: 0 / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4868, allocations: 0.9375 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.4869, allocations: 8.906 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4869, allocations: 0 / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.487, allocations: 18.2 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.487, allocations: 0 / 0.6796 GB, free: 13.07 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 (2): * Single equations (assignments): 2 * 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.0001017/0.4871, allocations: 112.2 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.4871, allocations: 2.281 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.4873, allocations: 65.77 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4873, allocations: 0 / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4874, allocations: 0 / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4874, allocations: 1.469 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4876, allocations: 166.8 kB / 0.6799 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4876, allocations: 1.094 kB / 0.6799 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.4877, allocations: 3.438 kB / 0.6799 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4877, allocations: 5.078 kB / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4877, allocations: 1.062 kB / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4877, allocations: 0 / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4877, allocations: 0 / 0.6799 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.4879, allocations: 161.2 kB / 0.6801 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.488, allocations: 82.05 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.488, allocations: 1.156 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.4881, allocations: 2.344 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4881, allocations: 5.328 kB / 0.6802 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4881, allocations: 3.938 kB / 0.6802 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.4882, allocations: 86.47 kB / 0.6803 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4882, allocations: 0 / 0.6803 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000358/0.4886, allocations: 16.05 kB / 0.6803 GB, free: 12.34 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 (2): * Single equations (assignments): 2 * 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.0005803/0.4892, allocations: 0.6998 MB / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.4893, allocations: 25.73 kB / 0.681 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4894, allocations: 1.312 kB / 0.681 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.4894, allocations: 18.8 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4897, allocations: 2.812 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.4903, allocations: 167.3 kB / 0.6812 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4906, allocations: 0.6796 MB / 0.6818 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.4907, allocations: 5.531 kB / 0.6818 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4907, allocations: 12.59 kB / 0.6819 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.375e-06/0.4907, allocations: 4.062 kB / 0.6819 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.5127, allocations: 1.639 MB / 0.6835 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.937, allocations: 13.97 kB / 0.6835 GB, free: 9.824 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)