Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.001009/0.001009, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009735/0.0009736, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9677/0.9677, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 11.98 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 83.41 MB / 0.5974 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007023/0.1799, allocations: 331.1 kB / 0.5977 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.1802, allocations: 139.6 kB / 0.5978 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1802, allocations: 0 / 0.5978 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1802, allocations: 7.938 kB / 0.5978 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.799e-05/0.1803, allocations: 0 / 0.5978 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1805, allocations: 35.89 kB / 0.5979 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.014e-05/0.1806, allocations: 4 kB / 0.5979 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1806, allocations: 0 / 0.5979 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.1806, allocations: 15.92 kB / 0.5979 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.1807, allocations: 7.984 kB / 0.5979 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1807, allocations: 0 / 0.5979 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.1808, allocations: 27.97 kB / 0.5979 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.1808, allocations: 7.984 kB / 0.5979 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1808, allocations: 25.7 kB / 0.598 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.63e-05/0.1809, allocations: 19.97 kB / 0.598 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1809, allocations: 0 / 0.598 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1809, allocations: 4 kB / 0.598 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1809, allocations: 0 / 0.598 GB, free: 7.086 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003311/0.1813, allocations: 331.4 kB / 0.5983 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1813, allocations: 8.031 kB / 0.5983 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.1813, allocations: 34.56 kB / 0.5983 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1814, allocations: 11.89 kB / 0.5983 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.1815, allocations: 163.3 kB / 0.5985 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1815, allocations: 0 / 0.5985 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1815, allocations: 8 kB / 0.5985 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1816, allocations: 41.69 kB / 0.5985 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1816, allocations: 0 / 0.5985 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.1817, allocations: 0 / 0.5985 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1817, allocations: 0 / 0.5985 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.1817, allocations: 19.92 kB / 0.5986 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1819, allocations: 165.6 kB / 0.5987 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.182, allocations: 42.56 kB / 0.5988 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.1821, allocations: 85.17 kB / 0.5988 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1821, allocations: 38.56 kB / 0.5989 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1821, allocations: 0 / 0.5989 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001166/0.1833, allocations: 492.2 kB / 0.5993 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1833, allocations: 55.41 kB / 0.5994 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.1834, allocations: 97.86 kB / 0.5995 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1834, allocations: 25.7 kB / 0.5995 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.1834, allocations: 80.14 kB / 0.5996 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1835, allocations: 31.62 kB / 0.5996 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1835, allocations: 0 / 0.5996 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1836, allocations: 318.8 kB / 0.5999 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.1836, allocations: 12 kB / 0.5999 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.1837, allocations: 11.98 kB / 0.6 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.1837, allocations: 16 kB / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1837, allocations: 128 / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.702e-05/0.1838, allocations: 73.53 kB / 0.6 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1838, allocations: 4 kB / 0.6 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1838, allocations: 0 / 0.6 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1838, allocations: 4 kB / 0.6 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.1839, allocations: 11.98 kB / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1839, allocations: 0 / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.184, allocations: 8 kB / 0.6001 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.184, allocations: 0 / 0.6001 GB, free: 4.633 MB / 0.4981 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/0.1841, allocations: 113.8 kB / 0.6002 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1841, allocations: 8 kB / 0.6002 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1842, allocations: 85.56 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1843, allocations: 0 / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1843, allocations: 3.984 kB / 0.6003 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1843, allocations: 0 / 0.6003 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1844, allocations: 165.6 kB / 0.6004 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1844, allocations: 0 / 0.6004 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.1845, allocations: 15.98 kB / 0.6004 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1845, allocations: 0 / 0.6004 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1845, allocations: 4 kB / 0.6004 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.1845, allocations: 4 kB / 0.6004 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1845, allocations: 3.938 kB / 0.6005 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1847, allocations: 120.9 kB / 0.6006 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.1848, allocations: 77.11 kB / 0.6006 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1848, allocations: 0 / 0.6006 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.1848, allocations: 8.156 kB / 0.6006 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.1849, allocations: 16.03 kB / 0.6007 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1849, allocations: 8 kB / 0.6007 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.1849, allocations: 75.28 kB / 0.6007 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1849, allocations: 0 / 0.6007 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002036/0.1851, allocations: 28 kB / 0.6008 GB, free: 3.805 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/0.1856, allocations: 0.691 MB / 0.6014 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.1857, allocations: 40.05 kB / 0.6015 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1857, allocations: 0 / 0.6015 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.1858, allocations: 27.92 kB / 0.6015 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.595e-05/0.1859, allocations: 0 / 0.6015 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.1864, allocations: 409.9 kB / 0.6019 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1867, allocations: 0.6887 MB / 0.6026 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.1867, allocations: 4.188 kB / 0.6026 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.1867, allocations: 15.44 kB / 0.6026 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1868, allocations: 0 / 0.6026 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.1979, allocations: 1.601 MB / 0.6042 GB, free: 476 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.1981, allocations: 212.1 kB / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.849, allocations: 0 / 0.6044 GB, free: 232 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: