Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001282/0.001283, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 287 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 103.3 kB / 0.6066 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.194, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001834/0.1959, allocations: 0.5999 MB / 0.6942 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.1963, allocations: 167.4 kB / 0.6944 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1964, allocations: 0 / 0.6944 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1964, allocations: 0 / 0.6944 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.028e-05/0.1964, allocations: 0 / 0.6944 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1967, allocations: 44.72 kB / 0.6944 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.1968, allocations: 11.98 kB / 0.6944 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1969, allocations: 7.984 kB / 0.6944 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.1969, allocations: 7.938 kB / 0.6944 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.1969, allocations: 7.984 kB / 0.6944 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.197, allocations: 4 kB / 0.6944 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.197, allocations: 27.97 kB / 0.6945 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1971, allocations: 7.984 kB / 0.6945 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1971, allocations: 7.938 kB / 0.6945 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.891e-05/0.1972, allocations: 35.88 kB / 0.6945 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1972, allocations: 4 kB / 0.6945 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1972, allocations: 0 / 0.6945 GB, free: 3.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1972, allocations: 0 / 0.6945 GB, free: 3.309 MB / 494.1 MB 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.000396/0.1976, allocations: 333.2 kB / 0.6948 GB, free: 2.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1977, allocations: 12.03 kB / 0.6949 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1977, allocations: 30.75 kB / 0.6949 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.1978, allocations: 4.844 kB / 0.6949 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1979, allocations: 172.6 kB / 0.695 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1979, allocations: 8.312 kB / 0.6951 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1979, allocations: 8.375 kB / 0.6951 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.198, allocations: 38.25 kB / 0.6951 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1981, allocations: 7.938 kB / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1981, allocations: 0 / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1981, allocations: 0 / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.1981, allocations: 15.98 kB / 0.6951 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1983, allocations: 153.7 kB / 0.6953 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.1984, allocations: 54.56 kB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.1985, allocations: 16.98 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.757e-05/0.1986, allocations: 77.11 kB / 0.6954 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1986, allocations: 42.55 kB / 0.6955 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1986, allocations: 0 / 0.6955 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001244/0.1999, allocations: 480 kB / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1999, allocations: 51.41 kB / 0.696 GB, free: 1.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.2, allocations: 97.86 kB / 0.6961 GB, free: 1.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2, allocations: 29.7 kB / 0.6961 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.2001, allocations: 80.14 kB / 0.6962 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.2001, allocations: 31.56 kB / 0.6962 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.2002, allocations: 25.66 kB / 0.6962 GB, free: 1.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2003, allocations: 318.8 kB / 0.6965 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.2004, allocations: 8 kB / 0.6965 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.2004, allocations: 16.11 kB / 0.6965 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.2005, allocations: 36.86 kB / 0.6966 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2005, allocations: 0 / 0.6966 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000125/0.2006, allocations: 77.75 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2006, allocations: 4 kB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2006, allocations: 0 / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2006, allocations: 0 / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.2007, allocations: 23.92 kB / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.2007, allocations: 0 / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.2008, allocations: 448 / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2008, allocations: 4 kB / 0.6967 GB, free: 0.7773 MB / 494.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 (8): * Single equations (assignments): 8 * 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 8.081e-05/0.2009, allocations: 113.8 kB / 0.6968 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.2009, allocations: 7.938 kB / 0.6968 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.2011, allocations: 77.62 kB / 0.6969 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2011, allocations: 7.938 kB / 0.6969 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2011, allocations: 7.984 kB / 0.6969 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2011, allocations: 3.984 kB / 0.6969 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2012, allocations: 161.7 kB / 0.697 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2012, allocations: 7.938 kB / 0.6971 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.2013, allocations: 15.94 kB / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2013, allocations: 0 / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2013, allocations: 3.984 kB / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2013, allocations: 0 / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2013, allocations: 0 / 0.6971 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2015, allocations: 124.9 kB / 0.6972 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2016, allocations: 81.05 kB / 0.6973 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2016, allocations: 4.062 kB / 0.6973 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.495e-05/0.2017, allocations: 8.031 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.2017, allocations: 3.984 kB / 0.6973 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2017, allocations: 4 kB / 0.6973 GB, free: 56 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.2018, allocations: 75.28 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.216e-06/0.2018, allocations: 0 / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002157/0.202, allocations: 35.94 kB / 0.6974 GB, free: 15.95 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 (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.0005635/0.2026, allocations: 0.6866 MB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.2027, allocations: 39.98 kB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2027, allocations: 0 / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.2027, allocations: 27.92 kB / 0.6981 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.2029, allocations: 4 kB / 0.6981 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2042, allocations: 1.175 MB / 0.6993 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2046, allocations: 0.6847 MB / 0.6999 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.798e-05/0.2046, allocations: 11.92 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2047, allocations: 19.42 kB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.2047, allocations: 0 / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.2288, allocations: 1.805 MB / 0.7017 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.872, allocations: 23.75 kB / 0.7018 GB, free: 11.5 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)