Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.005625/0.005625, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001273/0.001273, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.036/1.036, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 60.14 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4837, allocations: 82.02 MB / 0.6752 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002687/0.4864, allocations: 1.433 MB / 0.6766 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005364/0.487, allocations: 197.1 kB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.487, allocations: 1.344 kB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.487, allocations: 3.938 kB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.4871, allocations: 3.938 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.4875, allocations: 42.33 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.4876, allocations: 21.17 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.4877, allocations: 6.875 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.4877, allocations: 15.7 kB / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.4878, allocations: 14.89 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.4878, allocations: 2.125 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4879, allocations: 32.62 kB / 0.6769 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.4879, allocations: 1.406 kB / 0.6769 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.4879, allocations: 13.3 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.4881, allocations: 38.78 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4881, allocations: 1.156 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4881, allocations: 0 / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4881, allocations: 0 / 0.6769 GB, free: 15.72 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.0005413/0.4887, allocations: 349.9 kB / 0.6773 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4887, allocations: 9.031 kB / 0.6773 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.4888, allocations: 30.75 kB / 0.6773 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.4888, allocations: 7.375 kB / 0.6773 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.4889, allocations: 169.5 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.489, allocations: 1.5 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.489, allocations: 1.625 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4892, allocations: 49.91 kB / 0.6775 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4892, allocations: 7.938 kB / 0.6775 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4892, allocations: 7.922 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4892, allocations: 5.109 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.4894, allocations: 34.66 kB / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.4898, allocations: 252.8 kB / 0.6778 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.4899, allocations: 44.19 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.49, allocations: 22.16 kB / 0.6779 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.4901, allocations: 87.41 kB / 0.678 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4902, allocations: 31.72 kB / 0.678 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4902, allocations: 0 / 0.678 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.4905, allocations: 86.14 kB / 0.6781 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4906, allocations: 51.41 kB / 0.6781 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.4907, allocations: 99.77 kB / 0.6782 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4907, allocations: 26.89 kB / 0.6783 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.4907, allocations: 85.38 kB / 0.6783 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.4908, allocations: 9.156 kB / 0.6783 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.4908, allocations: 11.94 kB / 0.6784 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4909, allocations: 316.4 kB / 0.6787 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.491, allocations: 16.33 kB / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.4911, allocations: 21.34 kB / 0.6787 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4912, allocations: 39.73 kB / 0.6787 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4912, allocations: 4.969 kB / 0.6787 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.4914, allocations: 68.66 kB / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4915, allocations: 5.688 kB / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4915, allocations: 0 / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4915, allocations: 0 / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.4916, allocations: 10.95 kB / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4916, allocations: 0 / 0.6788 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.4917, allocations: 7.531 kB / 0.6788 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4917, allocations: 1.188 kB / 0.6788 GB, free: 13.75 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 7.472e-05/0.4918, allocations: 124.2 kB / 0.6789 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.4918, allocations: 9.453 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.492, allocations: 69.95 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.492, allocations: 1.25 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.492, allocations: 0 / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.492, allocations: 0 / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.4922, allocations: 163.5 kB / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4922, allocations: 8.016 kB / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.4923, allocations: 6 kB / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4923, allocations: 0 / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4923, allocations: 5.219 kB / 0.6792 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4923, allocations: 0 / 0.6792 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4923, allocations: 0 / 0.6792 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.4926, allocations: 167.9 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.4926, allocations: 82.25 kB / 0.6794 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.4926, allocations: 5.031 kB / 0.6794 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.4927, allocations: 6.875 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4927, allocations: 5.172 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4928, allocations: 1.094 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.4928, allocations: 79.72 kB / 0.6795 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4928, allocations: 0 / 0.6795 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002493/0.4931, allocations: 9.938 kB / 0.6795 GB, free: 13.01 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.0006701/0.4937, allocations: 0.715 MB / 0.6802 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.494, allocations: 42.47 kB / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.494, allocations: 0 / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.4941, allocations: 15.05 kB / 0.6803 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4944, allocations: 11.89 kB / 0.6803 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.4949, allocations: 133.7 kB / 0.6804 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4952, allocations: 0.6805 MB / 0.6811 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.4952, allocations: 5.469 kB / 0.6811 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4953, allocations: 12.72 kB / 0.6811 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4953, allocations: 0 / 0.6811 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.5155, allocations: 1.468 MB / 0.6825 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.899, allocations: 11.02 kB / 0.6826 GB, free: 10.59 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)